#CBA20E

Closest named color: Yellow Ochre (#CB9D06). oklch(72.9% 0.147 90.1), rgb(203, 162, 14).

Aa

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

About this color

#CBA20E is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.147 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.012 away. Black text reads best on it, at 8.71:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromavivid (0.147)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.71:1
White text2.40:1

Values

HEX#CBA20E
RGBrgb(203, 162, 14)
HSLhsl(47, 87%, 43%)
OKLCHoklch(72.9% 0.147 90.1)

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 #CBA20E 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #CBA20E 8.71:1 AAA Lc 56.8 Large or bold text, headings
#CBA20E text on white 2.40:1 Fails Lc 47.2 Large or bold text, headings
#CBA20E text on black 8.71:1 AAA Lc -54.8 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

    #F9F5EC

    oklch(97.1% 0.013 86.8)

  2. Step 100

    100

    #F1EAD6

    oklch(93.7% 0.028 90.9)

  3. Step 200

    200

    #E6D8B4

    oklch(88.4% 0.05 89.3)

  4. Step 300

    300

    #D7BE7A

    oklch(80.8% 0.092 90)

  5. Step 400

    400 (this color)

    #CBA20E

    oklch(72.9% 0.147 90.1)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#CBA20E 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)#B6A0000.035
Deuteranopia (no green cones)#C0AC1E0.028
Tritanopia (no blue cones)#DD938A0.133
Achromatopsia (no color)#A7A7A70.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA20E

    #CBA20E

    oklch(72.9% 0.147 90.1)

  • #86A2FF

    #86A2FF

    oklch(73% 0.139 270)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA20E

    #CBA20E

    oklch(72.9% 0.147 90.1)

  • #E98F38

    #E98F38

    oklch(73% 0.147 60.5)

  • #9CB43C

    #9CB43C

    oklch(72.8% 0.146 119.9)

Open the analogous palette in the generator

Split complementary

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

  • #CBA20E

    #CBA20E

    oklch(72.9% 0.147 90.1)

  • #3AB2FA

    #3AB2FA

    oklch(73% 0.147 240.2)

  • #B690F5

    #B690F5

    oklch(72.8% 0.147 300.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA20E

    #CBA20E

    oklch(72.9% 0.147 90.1)

  • #00BCD3

    #00BCD3

    oklch(72.9% 0.126 210.2)

  • #DA83D3

    #DA83D3

    oklch(72.9% 0.147 329.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA20E

    #CBA20E

    oklch(72.9% 0.147 90.1)

  • #00C2AB

    #00C2AB

    oklch(72.9% 0.132 180.2)

  • #86A2FF

    #86A2FF

    oklch(73% 0.139 270)

  • #F07DA3

    #F07DA3

    oklch(72.9% 0.146 0.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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