#C7D962

Closest named color: Greenish Beige (#C9D179). oklch(84.8% 0.145 116.8), rgb(199, 217, 98).

Aa

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

About this color

#C7D962 is a light, vivid yellow. In OKLCH its lightness is 85%, its chroma 0.145 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.037 away. Black text reads best on it, at 13.52:1.

Hue familyYellows
Lightnesslight (85%)
Chromavivid (0.145)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.52:1
White text1.55:1

Values

HEX#C7D962
RGBrgb(199, 217, 98)
HSLhsl(69, 61%, 62%)
OKLCHoklch(84.8% 0.145 116.8)

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 #C7D962 1.55:1 Fails Lc -28.6 Dividers and decoration only
Black text on #C7D962 13.52:1 AAA Lc 78.5 Fine for body text
#C7D962 text on white 1.55:1 Fails Lc 25.3 Dividers and decoration only
#C7D962 text on black 13.52:1 AAA Lc -77.8 Fine for body text

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 200.

  1. Step 50

    50

    #F4F8E5

    oklch(97.1% 0.025 116.5)

  2. Step 100

    100

    #E7EFC7

    oklch(93.6% 0.053 116.6)

  3. Step 200

    200 (this color)

    #C7D962

    oklch(84.8% 0.145 116.8)

  4. Step 300

    300

    #BACE00

    oklch(80.8% 0.186 116.6)

  5. Step 400

    400

    #9BAC00

    oklch(70.7% 0.162 116.6)

  6. Step 500

    500

    #849400

    oklch(63.2% 0.146 117.1)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#C7D962 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)#E6CF560.046
Deuteranopia (no green cones)#E4D0690.048
Tritanopia (no blue cones)#D2CEBF0.126
Achromatopsia (no color)#CFCFCF0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7D962

    #C7D962

    oklch(84.8% 0.145 116.8)

  • #D2C2FF

    #D2C2FF

    oklch(84.8% 0.085 296.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7D962

    #C7D962

    oklch(84.8% 0.145 116.8)

  • #F6C64D

    #F6C64D

    oklch(84.8% 0.145 86.8)

  • #89E794

    #89E794

    oklch(84.9% 0.146 146.8)

Open the analogous palette in the generator

Split complementary

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

  • #C7D962

    #C7D962

    oklch(84.8% 0.145 116.8)

  • #B7CCFF

    #B7CCFF

    oklch(84.7% 0.075 267.3)

  • #FFAAFF

    #FFAAFF

    oklch(84.8% 0.146 326.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7D962

    #C7D962

    oklch(84.8% 0.145 116.8)

  • #95D6FF

    #95D6FF

    oklch(84.7% 0.087 236.9)

  • #FFB4CE

    #FFB4CE

    oklch(84.8% 0.093 356.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7D962

    #C7D962

    oklch(84.8% 0.145 116.8)

  • #00E7FD

    #00E7FD

    oklch(84.8% 0.145 207)

  • #D2C2FF

    #D2C2FF

    oklch(84.8% 0.085 296.6)

  • #FFB9B0

    #FFB9B0

    oklch(84.8% 0.083 27.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #C7D962 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.