#CBA626

Closest named color: Yellow Ochre (#CB9D06). oklch(73.8% 0.141 91.3), rgb(203, 166, 38).

Aa

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

About this color

#CBA626 is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.141 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.022 away. Black text reads best on it, at 9.02:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromavivid (0.141)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text9.02:1
White text2.32:1

Values

HEX#CBA626
RGBrgb(203, 166, 38)
HSLhsl(47, 68%, 47%)
OKLCHoklch(73.8% 0.141 91.3)

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 #CBA626 2.32:1 Fails Lc -50.6 Large or bold text, headings
Black text on #CBA626 9.02:1 AAA Lc 58.3 Large or bold text, headings
#CBA626 text on white 2.32:1 Fails Lc 45.7 Large or bold text, headings
#CBA626 text on black 9.02:1 AAA Lc -56.4 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

    #E5D9B5

    oklch(88.6% 0.049 91.8)

  4. Step 300

    300

    #D5BF7E

    oklch(80.8% 0.087 91.5)

  5. Step 400

    400 (this color)

    #CBA626

    oklch(73.8% 0.141 91.3)

  6. Step 500

    500

    #A68500

    oklch(63% 0.129 91.2)

  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

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#CBA626 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)#BAA4000.032
Deuteranopia (no green cones)#C3AE2F0.022
Tritanopia (no blue cones)#DC978E0.128
Achromatopsia (no color)#AAAAAA0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBA626

    #CBA626

    oklch(73.8% 0.141 91.3)

  • #8CA4FF

    #8CA4FF

    oklch(73.8% 0.135 271.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBA626

    #CBA626

    oklch(73.8% 0.141 91.3)

  • #E99341

    #E99341

    oklch(73.7% 0.141 61)

  • #9DB748

    #9DB748

    oklch(73.7% 0.14 121.1)

Open the analogous palette in the generator

Split complementary

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

  • #CBA626

    #CBA626

    oklch(73.8% 0.141 91.3)

  • #48B4FA

    #48B4FA

    oklch(73.8% 0.141 241.1)

  • #BA94F4

    #BA94F4

    oklch(73.9% 0.14 301.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBA626

    #CBA626

    oklch(73.8% 0.141 91.3)

  • #00BFD8

    #00BFD8

    oklch(73.8% 0.128 211.2)

  • #DD87D2

    #DD87D2

    oklch(73.8% 0.141 331.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBA626

    #CBA626

    oklch(73.8% 0.141 91.3)

  • #00C5AF

    #00C5AF

    oklch(73.8% 0.133 181)

  • #8CA4FF

    #8CA4FF

    oklch(73.8% 0.135 271.6)

  • #F182A4

    #F182A4

    oklch(73.8% 0.14 1.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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