#CFA138

Closest named color: Yellow Ochre (#CB9D06). oklch(73.3% 0.13 84.2), rgb(207, 161, 56).

Aa

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

About this color

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

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

Values

HEX#CFA138
RGBrgb(207, 161, 56)
HSLhsl(42, 61%, 52%)
OKLCHoklch(73.3% 0.13 84.2)

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 #CFA138 2.38:1 Fails Lc -51.8 Large or bold text, headings
Black text on #CFA138 8.80:1 AAA Lc 57.2 Large or bold text, headings
#CFA138 text on white 2.38:1 Fails Lc 46.8 Large or bold text, headings
#CFA138 text on black 8.80:1 AAA Lc -55.2 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

    #F1E9D9

    oklch(93.6% 0.023 84.6)

  3. Step 200

    200

    #E7D7B8

    oklch(88.4% 0.045 83.9)

  4. Step 300

    300

    #D9BD83

    oklch(80.9% 0.082 84.9)

  5. Step 400

    400 (this color)

    #CFA138

    oklch(73.3% 0.13 84.2)

  6. Step 500

    500

    #AE8100

    oklch(63% 0.129 83.9)

  7. Step 600

    600

    #926C00

    oklch(55.5% 0.114 84.1)

  8. Step 700

    700

    #7B5B00

    oklch(49.1% 0.101 84.7)

  9. Step 800

    800

    #654A00

    oklch(42.7% 0.087 84.5)

  10. Step 900

    900

    #553D00

    oklch(37.7% 0.077 83.5)

  11. Step 950

    950

    #332400

    oklch(27.1% 0.056 85)

Export this scale for Tailwind in the Tailwind colors tool

#CFA138 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)#B5A1290.044
Deuteranopia (no green cones)#C0AD3D0.036
Tritanopia (no blue cones)#E0928C0.116
Achromatopsia (no color)#A8A8A80.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFA138

    #CFA138

    oklch(73.3% 0.13 84.2)

  • #7FA7FB

    #7FA7FB

    oklch(73.4% 0.13 264.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFA138

    #CFA138

    oklch(73.3% 0.13 84.2)

  • #E79154

    #E79154

    oklch(73.4% 0.129 54.5)

  • #A8B248

    #A8B248

    oklch(73.4% 0.13 114.2)

Open the analogous palette in the generator

Split complementary

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

  • #CFA138

    #CFA138

    oklch(73.3% 0.13 84.2)

  • #42B5EE

    #42B5EE

    oklch(73.3% 0.13 234.4)

  • #AE98F2

    #AE98F2

    oklch(73.4% 0.129 294.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFA138

    #CFA138

    oklch(73.3% 0.13 84.2)

  • #00BFCD

    #00BFCD

    oklch(73.4% 0.125 204.1)

  • #D18BD7

    #D18BD7

    oklch(73.3% 0.131 324)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFA138

    #CFA138

    oklch(73.3% 0.13 84.2)

  • #2CC3A3

    #2CC3A3

    oklch(73.4% 0.13 174.3)

  • #7FA7FB

    #7FA7FB

    oklch(73.4% 0.13 264.1)

  • #E884AE

    #E884AE

    oklch(73.3% 0.131 354.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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