#C7D337

Closest named color: Mustard Yellow (#D2BD0A). oklch(83.1% 0.17 114), rgb(199, 211, 55).

Aa

Black text reads best on this color (12.80:1).

About this color

#C7D337 is a light, vivid yellow. In OKLCH its lightness is 83%, its chroma 0.170 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.054 away. Black text reads best on it, at 12.80:1.

Hue familyYellows
Lightnesslight (83%)
Chromavivid (0.170)
Temperaturein between
Nearest nameMustard Yellow (#D2BD0A)
Black text12.80:1
White text1.64:1

Values

HEX#C7D337
RGBrgb(199, 211, 55)
HSLhsl(65, 64%, 52%)
OKLCHoklch(83.1% 0.17 114)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #C7D337 1.64:1 Fails Lc -31.9 Non-text elements, placeholder text
Black text on #C7D337 12.80:1 AAA Lc 75.5 Fine for body text
#C7D337 text on white 1.64:1 Fails Lc 28.3 Dividers and decoration only
#C7D337 text on black 12.80:1 AAA Lc -74.6 Content text, not long reading

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #F5F7E6

    oklch(97% 0.022 112.3)

  2. Step 100

    100

    #E9EEC9

    oklch(93.6% 0.049 113.6)

  3. Step 200

    200

    #D8E198

    oklch(88.6% 0.095 114.1)

  4. Step 300

    300 (this color)

    #C7D337

    oklch(83.1% 0.17 114)

  5. Step 400

    400

    #A0AA00

    oklch(70.6% 0.159 113.9)

  6. Step 500

    500

    #899200

    oklch(63.1% 0.142 114.1)

  7. Step 600

    600

    #737B00

    oklch(55.7% 0.125 114.2)

  8. Step 700

    700

    #606700

    oklch(49.1% 0.111 114.3)

  9. Step 800

    800

    #4F5400

    oklch(42.7% 0.096 113.7)

  10. Step 900

    900

    #414600

    oklch(37.7% 0.085 114.3)

  11. Step 950

    950

    #262900

    oklch(26.9% 0.06 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#C7D337 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#E3C9130.042
Deuteranopia (no green cones)#E2CB440.045
Tritanopia (no blue cones)#D4C6B50.150
Achromatopsia (no color)#CACACA0.170

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #C7D337

    #C7D337

    oklch(83.1% 0.17 114)

  • #CABCFF

    #CABCFF

    oklch(83% 0.094 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7D337

    #C7D337

    oklch(83.1% 0.17 114)

  • #FBBC04

    #FBBC04

    oklch(83% 0.17 84)

  • #7CE47D

    #7CE47D

    oklch(83.2% 0.17 144)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #C7D337

    #C7D337

    oklch(83.1% 0.17 114)

  • #ACC8FF

    #ACC8FF

    oklch(83.1% 0.083 263.6)

  • #F8A4FF

    #F8A4FF

    oklch(83.1% 0.152 324.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7D337

    #C7D337

    oklch(83.1% 0.17 114)

  • #83D3FF

    #83D3FF

    oklch(83.2% 0.1 233.8)

  • #FFAACC

    #FFAACC

    oklch(83% 0.108 354.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7D337

    #C7D337

    oklch(83.1% 0.17 114)

  • #00E2F2

    #00E2F2

    oklch(83.2% 0.142 203.9)

  • #CABCFF

    #CABCFF

    oklch(83% 0.094 293.8)

  • #FFB0AA

    #FFB0AA

    oklch(83.1% 0.094 24.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C7D337, closest first.

No curated palette has a color within ΔE 0.04 of #C7D337.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #C7D337 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.