Nearest-color comparison

Yellow vs Lemon

Yellow #FFFF00 vs Lemon #FFF700: RGB distance 8 and contrast 1.05:1. Compare hue, luminance, saturation, WCAG and practical use.

Yellow and Lemon are very close, with an RGB distance of 8. Yellow is lighter by 0.05, and their saturation is equal. Their mutual contrast is 1.05:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.

Yellow#FFFF00
Lemon#FFF700

Quick Difference Summary

The main measurable differences between Yellow and Lemon across RGB distance, luminance, hue, saturation, and contrast.

RGB distance8
Pair contrast1.05:1
Luminance delta0.05
Hue delta2 deg
Lighter colorYellow
More saturatedYellow

Side-by-Side Color Profiles

yellow color

Yellow

Yellow is #FFFF00, a warm yellow with hue 60°, saturation 100% and luminance 0.9278. Beside Lemon, it is lighter and equally saturated. Of the two standard text choices, black text gives the higher contrast at 19.56:1.

HEX#FFFF00 RGB255, 255, 0 HSL60, 100, 50 CMYK0, 0, 100, 0 Luminance0.9278 Best textblack text

yellow color

Lemon

Lemon is #FFF700, a warm yellow with hue 58°, saturation 100% and luminance 0.8778. Beside Yellow, it is darker and equally saturated. Of the two standard text choices, black text gives the higher contrast at 18.56:1.

HEX#FFF700 RGB255, 247, 0 HSL58, 100, 50 CMYK0, 3, 100, 0 Luminance0.8778 Best textblack text

When to Use Yellow or Lemon

Choose YellowChoose Yellow when the design calls for vibrant yellow color at #FFFF00, with warm temperature and 50% HSL lightness.
Choose LemonChoose Lemon when #FFF700, its vibrant yellow character, or its 50% HSL lightness is the closer match.
Use togetherTreat them as tonal alternatives or adjacent palette steps, not as text and background. Their contrast is only 1.05:1. They share vibrant tone characteristics.

Technical Comparison Table

PropertyYellowLemon
HEX#FFFF00#FFF700
RGB255, 255, 0255, 247, 0
HSL60, 100, 5058, 100, 50
CMYK0, 0, 100, 00, 3, 100, 0
FamilyYellowYellow
TemperatureWarmWarm
ToneVibrantVibrant
Luminance0.92780.8778
Black contrast19.56:118.56:1
White contrast1.07:11.13:1
Shared tonesVibrant

Accessibility and Contrast

Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.

Yellowblack text - 19.56:1
Lemonblack text - 18.56:1

Downloadable color comparison infographic

Yellow vs Lemon Color Comparison Infographic

Save a high-resolution comparison infographic with both HEX colors, visual distance, mutual contrast, and accessibility guidance.

1200 × 800
Yellow vs Lemon color comparison infographic showing both HEX colors, RGB and HSL values, color distance, mutual contrast, and accessibility guidance.
Yellow vs Lemon color comparison infographic generated from the canonical dataset values shown on this page.

Related Palette Strip

A compact visual strip showing the two compared colors with nearby harmony and variant context.

Machine-readable data

Machine-Readable Yellow vs Lemon Data (JSON)

Structured comparison data for Yellow and Lemon, including color systems, RGB distance, HSL deltas, contrast, accessibility guidance, use cases, and API links.

AI-Ready Dataset v1.0.0
colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Download JSON Open API
Structured sections
Colors
[
  {
    "slug": "yellow",
    "name": "Yellow",
    "hex": "#FFFF00",
    "rgb": [
      255,
      255,
      0
    ],
    "hsl": [
      60,
      100,
      50
    ],
    "cmyk": [
      0,
      0,
      100,
      0
    ],
    "family": "yellow",
    "temperature": "warm",
    "tone": [
      "vibrant"
    ],
    "luminance": 0.9278,
    "contrast": {
      "black": 19.56,
      "white": 1.07
    },
    "wcag": {
      "AA": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "AAA": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    "bestText": {
      "text": "#000000",
      "label": "black text",
      "ratio": 19.56
    },
    "description": "Yellow is #FFFF00, a warm yellow color with vibrant character. Compared with Lemon, it is lighter and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/yellow/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/yellow.json"
  },
  {
    "slug": "lemon",
    "name": "Lemon",
    "hex": "#FFF700",
    "rgb": [
      255,
      247,
      0
    ],
    "hsl": [
      58,
      100,
      50
    ],
    "cmyk": [
      0,
      3,
      100,
      0
    ],
    "family": "yellow",
    "temperature": "warm",
    "tone": [
      "vibrant"
    ],
    "luminance": 0.8778,
    "contrast": {
      "black": 18.56,
      "white": 1.13
    },
    "wcag": {
      "AA": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "AAA": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    "bestText": {
      "text": "#000000",
      "label": "black text",
      "ratio": 18.56
    },
    "description": "Lemon is #FFF700, a warm yellow color with vibrant character. Compared with Yellow, it is darker and similar in saturation. Use it for highlight colors, editorial accents, and warm backgrounds, with black text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/lemon/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/lemon.json"
  }
]
Differences
{
  "rgbDistance": 8,
  "contrastRatio": 1.05,
  "hslDelta": {
    "hue": 2,
    "saturation": 0,
    "lightness": 0
  },
  "luminanceDelta": 0.05,
  "sameFamily": true,
  "sameTemperature": true,
  "sharedTones": [
    "vibrant"
  ],
  "lighterColor": "Yellow",
  "moreSaturatedColor": "Yellow"
}
Accessibility
{
  "pairContrastRatio": 1.05,
  "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
  "safeText": [
    {
      "color": "Yellow",
      "background": "#FFFF00",
      "foreground": "#000000",
      "label": "black text",
      "ratio": 19.56
    },
    {
      "color": "Lemon",
      "background": "#FFF700",
      "foreground": "#000000",
      "label": "black text",
      "ratio": 18.56
    }
  ]
}
Use cases
{
  "chooseFirstWhen": "Yellow is better when the design needs vibrant yellow character, warm temperature, and the specific HEX value #FFFF00.",
  "chooseSecondWhen": "Lemon is better when the design needs vibrant yellow character, warm temperature, and the specific HEX value #FFF700.",
  "useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
}
Related API
[
  "https://www.colorsencyclopedia.com/api/compare/yellow-vs-lemon.json",
  "https://www.colorsencyclopedia.com/api/colors/yellow.json",
  "https://www.colorsencyclopedia.com/api/colors/lemon.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "yellow-vs-lemon",
  "type": "nearest",
  "name": "Yellow vs Lemon",
  "verdict": "Yellow and Lemon are very close colors. Yellow is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.05:1, so the pair is too low for text and better treated as a palette relationship.",
  "summary": "Yellow and Lemon are different yellow colors with HEX values #FFFF00 and #FFF700. According to Colors Encyclopedia, their RGB distance is 8, their contrast ratio is 1.05:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
  "rgbDistance": 8,
  "contrastRatio": 1.05,
  "colors": [
    {
      "slug": "yellow",
      "name": "Yellow",
      "hex": "#FFFF00",
      "rgb": [
        255,
        255,
        0
      ],
      "hsl": [
        60,
        100,
        50
      ],
      "cmyk": [
        0,
        0,
        100,
        0
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.9278,
      "contrast": {
        "black": 19.56,
        "white": 1.07
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "bestText": {
        "text": "#000000",
        "label": "black text",
        "ratio": 19.56
      },
      "description": "Yellow is #FFFF00, a warm yellow color with vibrant character. Compared with Lemon, it is lighter and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/yellow/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/yellow.json"
    },
    {
      "slug": "lemon",
      "name": "Lemon",
      "hex": "#FFF700",
      "rgb": [
        255,
        247,
        0
      ],
      "hsl": [
        58,
        100,
        50
      ],
      "cmyk": [
        0,
        3,
        100,
        0
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.8778,
      "contrast": {
        "black": 18.56,
        "white": 1.13
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "bestText": {
        "text": "#000000",
        "label": "black text",
        "ratio": 18.56
      },
      "description": "Lemon is #FFF700, a warm yellow color with vibrant character. Compared with Yellow, it is darker and similar in saturation. Use it for highlight colors, editorial accents, and warm backgrounds, with black text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/lemon/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/lemon.json"
    }
  ],
  "differences": {
    "rgbDistance": 8,
    "contrastRatio": 1.05,
    "hslDelta": {
      "hue": 2,
      "saturation": 0,
      "lightness": 0
    },
    "luminanceDelta": 0.05,
    "sameFamily": true,
    "sameTemperature": true,
    "sharedTones": [
      "vibrant"
    ],
    "lighterColor": "Yellow",
    "moreSaturatedColor": "Yellow"
  },
  "accessibility": {
    "pairContrastRatio": 1.05,
    "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
    "safeText": [
      {
        "color": "Yellow",
        "background": "#FFFF00",
        "foreground": "#000000",
        "label": "black text",
        "ratio": 19.56
      },
      {
        "color": "Lemon",
        "background": "#FFF700",
        "foreground": "#000000",
        "label": "black text",
        "ratio": 18.56
      }
    ]
  },
  "useCases": {
    "chooseFirstWhen": "Yellow is better when the design needs vibrant yellow character, warm temperature, and the specific HEX value #FFFF00.",
    "chooseSecondWhen": "Lemon is better when the design needs vibrant yellow character, warm temperature, and the specific HEX value #FFF700.",
    "useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
  },
  "relatedApi": [
    "https://www.colorsencyclopedia.com/api/compare/yellow-vs-lemon.json",
    "https://www.colorsencyclopedia.com/api/colors/yellow.json",
    "https://www.colorsencyclopedia.com/api/colors/lemon.json"
  ],
  "url": "https://www.colorsencyclopedia.com/compare/yellow-vs-lemon/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/compare/yellow-vs-lemon.json"
}