#CBA81F

Closest named color: Burnt Yellow (#D5AB09). oklch(74.2% 0.145 92.9), rgb(203, 168, 31).

Aa

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

About this color

#CBA81F is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.145 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Burnt Yellow (#D5AB09), ΔE 0.019 away. Black text reads best on it, at 9.16:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameBurnt Yellow (#D5AB09)
Black text9.16:1
White text2.29:1

Values

HEX#CBA81F
RGBrgb(203, 168, 31)
HSLhsl(48, 74%, 46%)
OKLCHoklch(74.2% 0.145 92.9)

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 #CBA81F 2.29:1 Fails Lc -49.9 Large or bold text, headings
Black text on #CBA81F 9.16:1 AAA Lc 59.0 Large or bold text, headings
#CBA81F text on white 2.29:1 Fails Lc 45.0 Large or bold text, headings
#CBA81F text on black 9.16:1 AAA Lc -57.1 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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #F0EAD7

    oklch(93.7% 0.026 92.4)

  3. Step 200

    200

    #E4D9B4

    oklch(88.5% 0.05 93.4)

  4. Step 300

    300

    #D5C07C

    oklch(81% 0.09 92.9)

  5. Step 400

    400 (this color)

    #CBA81F

    oklch(74.2% 0.145 92.9)

  6. Step 500

    500

    #A58600

    oklch(63.1% 0.129 92.4)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#CBA81F 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)#BCA5000.028
Deuteranopia (no green cones)#C4AF2A0.019
Tritanopia (no blue cones)#DC99900.133
Achromatopsia (no color)#ABABAB0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA81F

    #CBA81F

    oklch(74.2% 0.145 92.9)

  • #90A5FF

    #90A5FF

    oklch(74.3% 0.132 272.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA81F

    #CBA81F

    oklch(74.2% 0.145 92.9)

  • #EB953B

    #EB953B

    oklch(74.3% 0.145 62.9)

  • #9BBA48

    #9BBA48

    oklch(74.3% 0.145 122.8)

Open the analogous palette in the generator

Split complementary

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

  • #CBA81F

    #CBA81F

    oklch(74.2% 0.145 92.9)

  • #4AB4FF

    #4AB4FF

    oklch(74.1% 0.145 243.2)

  • #BE93F6

    #BE93F6

    oklch(74.1% 0.145 303.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA81F

    #CBA81F

    oklch(74.2% 0.145 92.9)

  • #00C0DC

    #00C0DC

    oklch(74.2% 0.13 213)

  • #E187D2

    #E187D2

    oklch(74.2% 0.144 333.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA81F

    #CBA81F

    oklch(74.2% 0.145 92.9)

  • #00C6B3

    #00C6B3

    oklch(74.2% 0.132 182.8)

  • #90A5FF

    #90A5FF

    oklch(74.3% 0.132 272.8)

  • #F581A3

    #F581A3

    oklch(74.2% 0.145 2.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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