#CFB545

Closest named color: Dark Yellow (#D5B60A). oklch(77.5% 0.132 96), rgb(207, 181, 69).

Aa

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

About this color

#CFB545 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.132 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.027 away. Black text reads best on it, at 10.34:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text10.34:1
White text2.02:1

Values

HEX#CFB545
RGBrgb(207, 181, 69)
HSLhsl(49, 59%, 54%)
OKLCHoklch(77.5% 0.132 96)

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 #CFB545 2.02:1 Fails Lc -43.8 Non-text elements, placeholder text
Black text on #CFB545 10.34:1 AAA Lc 64.6 Content text, not long reading
#CFB545 text on white 2.02:1 Fails Lc 39.3 Non-text elements, placeholder text
#CFB545 text on black 10.34:1 AAA Lc -63.0 Content text, not long reading

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

  1. Step 50

    50

    #F9F6E9

    oklch(97.2% 0.017 96.1)

  2. Step 100

    100

    #F1EACE

    oklch(93.5% 0.038 95.5)

  3. Step 200

    200

    #E7DAA2

    oklch(88.5% 0.074 96.6)

  4. Step 300

    300 (this color)

    #CFB545

    oklch(77.5% 0.132 96)

  5. Step 400

    400

    #BC9F00

    oklch(70.7% 0.145 95.9)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#CFB545 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)#C7B1370.019
Deuteranopia (no green cones)#CDBA4B0.012
Tritanopia (no blue cones)#DFA89E0.121
Achromatopsia (no color)#B6B6B60.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFB545

    #CFB545

    oklch(77.5% 0.132 96)

  • #A2AFFF

    #A2AFFF

    oklch(77.5% 0.115 276.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFB545

    #CFB545

    oklch(77.5% 0.132 96)

  • #EFA351

    #EFA351

    oklch(77.5% 0.133 65.6)

  • #A1C563

    #A1C563

    oklch(77.6% 0.132 126)

Open the analogous palette in the generator

Split complementary

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

  • #CFB545

    #CFB545

    oklch(77.5% 0.132 96)

  • #70BDFF

    #70BDFF

    oklch(77.5% 0.122 246.1)

  • #CB9FF9

    #CB9FF9

    oklch(77.6% 0.133 306)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFB545

    #CFB545

    oklch(77.5% 0.132 96)

  • #22CAEB

    #22CAEB

    oklch(77.5% 0.132 215.8)

  • #EA94D6

    #EA94D6

    oklch(77.5% 0.132 335.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFB545

    #CFB545

    oklch(77.5% 0.132 96)

  • #1CD1C2

    #1CD1C2

    oklch(77.6% 0.133 185.6)

  • #A2AFFF

    #A2AFFF

    oklch(77.5% 0.115 276.3)

  • #FC90A9

    #FC90A9

    oklch(77.5% 0.132 5.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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