#CBAB45

Closest named color: Desert (#CCAD60). oklch(75.1% 0.125 91.6), rgb(203, 171, 69).

Aa

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

About this color

#CBAB45 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.125 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.024 away. Black text reads best on it, at 9.45:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameDesert (#CCAD60)
Black text9.45:1
White text2.22:1

Values

HEX#CBAB45
RGBrgb(203, 171, 69)
HSLhsl(46, 56%, 53%)
OKLCHoklch(75.1% 0.125 91.6)

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 #CBAB45 2.22:1 Fails Lc -48.4 Large or bold text, headings
Black text on #CBAB45 9.45:1 AAA Lc 60.3 Content text, not long reading
#CBAB45 text on white 2.22:1 Fails Lc 43.7 Non-text elements, placeholder text
#CBAB45 text on black 9.45:1 AAA Lc -58.5 Large or bold text, headings

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

  1. Step 50

    50

    #F8F5EE

    oklch(97.1% 0.01 87.5)

  2. Step 100

    100

    #EFEAD9

    oklch(93.6% 0.023 93.3)

  3. Step 200

    200

    #E3D9B9

    oklch(88.5% 0.044 92.7)

  4. Step 300

    300

    #D3BF86

    oklch(80.8% 0.078 91)

  5. Step 400

    400 (this color)

    #CBAB45

    oklch(75.1% 0.125 91.6)

  6. Step 500

    500

    #A68600

    oklch(63.2% 0.129 91.9)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #514000

    oklch(37.9% 0.077 91.7)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#CBAB45 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)#BDA9390.026
Deuteranopia (no green cones)#C5B24A0.019
Tritanopia (no blue cones)#DB9E950.113
Achromatopsia (no color)#AEAEAE0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBAB45

    #CBAB45

    oklch(75.1% 0.125 91.6)

  • #92A9FD

    #92A9FD

    oklch(75.1% 0.124 271.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBAB45

    #CBAB45

    oklch(75.1% 0.125 91.6)

  • #E79B55

    #E79B55

    oklch(75.1% 0.125 61.6)

  • #A2BA5B

    #A2BA5B

    oklch(75% 0.125 121.2)

Open the analogous palette in the generator

Split complementary

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

  • #CBAB45

    #CBAB45

    oklch(75.1% 0.125 91.6)

  • #5EB7F6

    #5EB7F6

    oklch(75% 0.125 241.9)

  • #BC9BF0

    #BC9BF0

    oklch(75.1% 0.124 301.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBAB45

    #CBAB45

    oklch(75.1% 0.125 91.6)

  • #23C3DB

    #23C3DB

    oklch(75.2% 0.125 211)

  • #DC90D2

    #DC90D2

    oklch(75.1% 0.125 331.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBAB45

    #CBAB45

    oklch(75.1% 0.125 91.6)

  • #30C8B3

    #30C8B3

    oklch(75.2% 0.125 181.1)

  • #92A9FD

    #92A9FD

    oklch(75.1% 0.124 271.5)

  • #EF8BA8

    #EF8BA8

    oklch(75.1% 0.125 1.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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