#CBC398

Closest named color: Ash Gray (#BFC8AD). oklch(81.3% 0.058 98.7), rgb(203, 195, 152).

Aa

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

About this color

#CBC398 is a light, muted yellow. In OKLCH its lightness is 81%, its chroma 0.058 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.028 away. Black text reads best on it, at 11.79:1.

Hue familyYellows
Lightnesslight (81%)
Chromamuted (0.058)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text11.79:1
White text1.77:1

Values

HEX#CBC398
RGBrgb(203, 195, 152)
HSLhsl(51, 33%, 70%)
OKLCHoklch(81.3% 0.058 98.7)

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 #CBC398 1.77:1 Fails Lc -36.8 Non-text elements, placeholder text
Black text on #CBC398 11.79:1 AAA Lc 71.0 Content text, not long reading
#CBC398 text on white 1.77:1 Fails Lc 32.8 Non-text elements, placeholder text
#CBC398 text on black 11.79:1 AAA Lc -69.8 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

    #F7F6F0

    oklch(97.2% 0.008 98.9)

  2. Step 100

    100

    #ECEADE

    oklch(93.5% 0.016 99)

  3. Step 200

    200

    #DEDAC2

    oklch(88.5% 0.032 99.3)

  4. Step 300

    300 (this color)

    #CBC398

    oklch(81.3% 0.058 98.7)

  5. Step 400

    400

    #AFA25B

    oklch(70.8% 0.093 99.2)

  6. Step 500

    500

    #9C8A23

    oklch(63.2% 0.119 98.8)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4201

    oklch(37.8% 0.078 99.4)

  11. Step 950

    950

    #2D2706

    oklch(27.2% 0.049 98.8)

Export this scale for Tailwind in the Tailwind colors tool

#CBC398 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)#CCC0950.008
Deuteranopia (no green cones)#CEC4990.005
Tritanopia (no blue cones)#D3BDB70.052
Achromatopsia (no color)#C2C2C20.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBC398

    #CBC398

    oklch(81.3% 0.058 98.7)

  • #B9BFE8

    #B9BFE8

    oklch(81.4% 0.058 278.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBC398

    #CBC398

    oklch(81.3% 0.058 98.7)

  • #DBBC9A

    #DBBC9A

    oklch(81.3% 0.058 69.5)

  • #B6CAA2

    #B6CAA2

    oklch(81.3% 0.059 129.3)

Open the analogous palette in the generator

Split complementary

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

  • #CBC398

    #CBC398

    oklch(81.3% 0.058 98.7)

  • #A5C6E6

    #A5C6E6

    oklch(81.3% 0.058 247.7)

  • #CDB8DF

    #CDB8DF

    oklch(81.3% 0.059 309.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBC398

    #CBC398

    oklch(81.3% 0.058 98.7)

  • #98CBDB

    #98CBDB

    oklch(81.2% 0.058 219.1)

  • #DCB4CF

    #DCB4CF

    oklch(81.3% 0.058 338.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBC398

    #CBC398

    oklch(81.3% 0.058 98.7)

  • #97CEC9

    #97CEC9

    oklch(81.2% 0.057 189.1)

  • #B9BFE8

    #B9BFE8

    oklch(81.4% 0.058 278.5)

  • #E4B3BA

    #E4B3BA

    oklch(81.3% 0.058 8.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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