#CDA127

Closest named color: Yellow Ochre (#CB9D06). oklch(73% 0.139 87.1), rgb(205, 161, 39).

Aa

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

About this color

#CDA127 is a medium-light, moderately saturated orange. In OKLCH its lightness is 73%, its chroma 0.139 and its hue 87°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.013 away. Black text reads best on it, at 8.72:1.

Hue familyOranges
Lightnessmedium-light (73%)
Chromamoderately saturated (0.139)
Temperaturewarm
Nearest nameYellow Ochre (#CB9D06)
Black text8.72:1
White text2.40:1

Values

HEX#CDA127
RGBrgb(205, 161, 39)
HSLhsl(44, 68%, 48%)
OKLCHoklch(73% 0.139 87.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 #CDA127 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #CDA127 8.72:1 AAA Lc 56.8 Large or bold text, headings
#CDA127 text on white 2.40:1 Fails Lc 47.2 Large or bold text, headings
#CDA127 text on black 8.72: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

    #F9F5ED

    oklch(97.1% 0.011 84.6)

  2. Step 100

    100

    #F1E9D7

    oklch(93.5% 0.025 86.9)

  3. Step 200

    200

    #E7D8B6

    oklch(88.6% 0.048 87)

  4. Step 300

    300

    #D9BE7F

    oklch(81% 0.087 87.3)

  5. Step 400

    400 (this color)

    #CDA127

    oklch(73% 0.139 87.1)

  6. Step 500

    500

    #AB8300

    oklch(63.1% 0.129 87)

  7. Step 600

    600

    #906E00

    oklch(55.7% 0.114 87.1)

  8. Step 700

    700

    #795C00

    oklch(49.1% 0.1 87.1)

  9. Step 800

    800

    #634B00

    oklch(42.6% 0.087 87.5)

  10. Step 900

    900

    #533E00

    oklch(37.6% 0.077 86.9)

  11. Step 950

    950

    #322400

    oklch(27% 0.055 86.6)

Export this scale for Tailwind in the Tailwind colors tool

#CDA127 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)#B5A0060.042
Deuteranopia (no green cones)#C0AC2E0.032
Tritanopia (no blue cones)#DF928A0.124
Achromatopsia (no color)#A7A7A70.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDA127

    #CDA127

    oklch(73% 0.139 87.1)

  • #81A4FF

    #81A4FF

    oklch(73.1% 0.138 267)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDA127

    #CDA127

    oklch(73% 0.139 87.1)

  • #E88F47

    #E88F47

    oklch(73% 0.138 57)

  • #A2B341

    #A2B341

    oklch(73.1% 0.139 117.2)

Open the analogous palette in the generator

Split complementary

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

  • #CDA127

    #CDA127

    oklch(73% 0.139 87.1)

  • #3CB3F3

    #3CB3F3

    oklch(72.9% 0.138 237.1)

  • #B194F4

    #B194F4

    oklch(73% 0.138 296.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDA127

    #CDA127

    oklch(73% 0.139 87.1)

  • #00BDD0

    #00BDD0

    oklch(73% 0.125 207.5)

  • #D587D5

    #D587D5

    oklch(73% 0.139 326.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDA127

    #CDA127

    oklch(73% 0.139 87.1)

  • #00C3A6

    #00C3A6

    oklch(73.1% 0.136 176.9)

  • #81A4FF

    #81A4FF

    oklch(73.1% 0.138 267)

  • #EC80A9

    #EC80A9

    oklch(73% 0.14 357)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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