#CBC797

Closest named color: Ash Gray (#BFC8AD). oklch(82.1% 0.064 103.7), rgb(203, 199, 151).

Aa

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

About this color

#CBC797 is a light, muted yellow. In OKLCH its lightness is 82%, its chroma 0.064 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.030 away. Black text reads best on it, at 12.15:1.

Hue familyYellows
Lightnesslight (82%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text12.15:1
White text1.72:1

Values

HEX#CBC797
RGBrgb(203, 199, 151)
HSLhsl(55, 33%, 69%)
OKLCHoklch(82.1% 0.064 103.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 #CBC797 1.72:1 Fails Lc -35.1 Non-text elements, placeholder text
Black text on #CBC797 12.15:1 AAA Lc 72.6 Content text, not long reading
#CBC797 text on white 1.72:1 Fails Lc 31.2 Non-text elements, placeholder text
#CBC797 text on black 12.15:1 AAA Lc -71.5 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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #ECEBDD

    oklch(93.7% 0.019 103.4)

  3. Step 200

    200

    #DDDBC0

    oklch(88.6% 0.036 103.6)

  4. Step 300

    300 (this color)

    #CBC797

    oklch(82.1% 0.064 103.7)

  5. Step 400

    400

    #ABA454

    oklch(70.7% 0.103 104.2)

  6. Step 500

    500

    #978C0A

    oklch(63% 0.131 103.8)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2702

    oklch(26.9% 0.054 103.3)

Export this scale for Tailwind in the Tailwind colors tool

#CBC797 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)#D0C3940.011
Deuteranopia (no green cones)#D1C6990.010
Tritanopia (no blue cones)#D3C1BA0.057
Achromatopsia (no color)#C5C5C50.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBC797

    #CBC797

    oklch(82.1% 0.064 103.7)

  • #BEC0ED

    #BEC0ED

    oklch(82.1% 0.063 282.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBC797

    #CBC797

    oklch(82.1% 0.064 103.7)

  • #DEBF97

    #DEBF97

    oklch(82.1% 0.064 73.8)

  • #B4CEA4

    #B4CEA4

    oklch(82.1% 0.064 133.6)

Open the analogous palette in the generator

Split complementary

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

  • #CBC797

    #CBC797

    oklch(82.1% 0.064 103.7)

  • #A8C7EE

    #A8C7EE

    oklch(82% 0.065 254.3)

  • #D4B9E2

    #D4B9E2

    oklch(82.2% 0.064 314.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBC797

    #CBC797

    oklch(82.1% 0.064 103.7)

  • #97CEE3

    #97CEE3

    oklch(82.1% 0.064 223.5)

  • #E3B4CF

    #E3B4CF

    oklch(82% 0.065 343.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBC797

    #CBC797

    oklch(82.1% 0.064 103.7)

  • #93D2D0

    #93D2D0

    oklch(82.1% 0.064 193.5)

  • #BEC0ED

    #BEC0ED

    oklch(82.1% 0.063 282.9)

  • #EBB4B8

    #EBB4B8

    oklch(82.1% 0.064 13.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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