#CFB548

Closest named color: Dark Yellow (#D5B60A). oklch(77.5% 0.13 95.7), rgb(207, 181, 72).

Aa

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

About this color

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

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

Values

HEX#CFB548
RGBrgb(207, 181, 72)
HSLhsl(48, 58%, 55%)
OKLCHoklch(77.5% 0.13 95.7)

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

    #E7DAA3

    oklch(88.6% 0.073 96.4)

  4. Step 300

    300 (this color)

    #CFB548

    oklch(77.5% 0.13 95.7)

  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

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  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

#CFB548 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)#C7B13B0.019
Deuteranopia (no green cones)#CDBA4E0.012
Tritanopia (no blue cones)#DFA89E0.119
Achromatopsia (no color)#B6B6B60.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFB548

    #CFB548

    oklch(77.5% 0.13 95.7)

  • #A1B0FF

    #A1B0FF

    oklch(77.6% 0.114 275.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFB548

    #CFB548

    oklch(77.5% 0.13 95.7)

  • #EEA454

    #EEA454

    oklch(77.6% 0.13 65.9)

  • #A2C564

    #A2C564

    oklch(77.6% 0.131 125.7)

Open the analogous palette in the generator

Split complementary

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

  • #CFB548

    #CFB548

    oklch(77.5% 0.13 95.7)

  • #6FBDFF

    #6FBDFF

    oklch(77.5% 0.123 245.8)

  • #CAA0F8

    #CAA0F8

    oklch(77.6% 0.13 305.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFB548

    #CFB548

    oklch(77.5% 0.13 95.7)

  • #2ACAEA

    #2ACAEA

    oklch(77.5% 0.13 215.6)

  • #EA95D6

    #EA95D6

    oklch(77.6% 0.13 335.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFB548

    #CFB548

    oklch(77.5% 0.13 95.7)

  • #26D0C2

    #26D0C2

    oklch(77.5% 0.13 186)

  • #A1B0FF

    #A1B0FF

    oklch(77.6% 0.114 275.2)

  • #FB91AA

    #FB91AA

    oklch(77.5% 0.13 5.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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