#CAB768

Closest named color: Dark Khaki (#BDB76B). oklch(77.9% 0.102 96.2), rgb(202, 183, 104).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (78%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text10.48:1
White text2.00:1

Values

HEX#CAB768
RGBrgb(202, 183, 104)
HSLhsl(48, 48%, 60%)
OKLCHoklch(77.9% 0.102 96.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 #CAB768 2.00:1 Fails Lc -43.2 Non-text elements, placeholder text
Black text on #CAB768 10.48:1 AAA Lc 65.2 Content text, not long reading
#CAB768 text on white 2.00:1 Fails Lc 38.8 Non-text elements, placeholder text
#CAB768 text on black 10.48:1 AAA Lc -63.6 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

    #F8F6EB

    oklch(97.2% 0.015 98.3)

  2. Step 100

    100

    #EFEAD4

    oklch(93.5% 0.03 96.4)

  3. Step 200

    200

    #E4DAAF

    oklch(88.6% 0.058 96.5)

  4. Step 300

    300 (this color)

    #CAB768

    oklch(77.9% 0.102 96.2)

  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

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#CAB768 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)#C5B4610.013
Deuteranopia (no green cones)#CABA6B0.008
Tritanopia (no blue cones)#D7ACA40.094
Achromatopsia (no color)#B7B7B70.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB768

    #CAB768

    oklch(77.9% 0.102 96.2)

  • #A5B1F8

    #A5B1F8

    oklch(77.8% 0.102 276.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB768

    #CAB768

    oklch(77.9% 0.102 96.2)

  • #E4AA6E

    #E4AA6E

    oklch(77.9% 0.103 66.3)

  • #A6C37A

    #A6C37A

    oklch(77.8% 0.103 126.3)

Open the analogous palette in the generator

Split complementary

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

  • #CAB768

    #CAB768

    oklch(77.9% 0.102 96.2)

  • #7FBDF5

    #7FBDF5

    oklch(77.8% 0.103 246.8)

  • #C7A6EB

    #C7A6EB

    oklch(77.8% 0.102 306)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB768

    #CAB768

    oklch(77.9% 0.102 96.2)

  • #60C7E1

    #60C7E1

    oklch(77.8% 0.102 216.7)

  • #E19ED0

    #E19ED0

    oklch(77.9% 0.102 336.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB768

    #CAB768

    oklch(77.9% 0.102 96.2)

  • #5FCCC1

    #5FCCC1

    oklch(77.8% 0.102 186.5)

  • #A5B1F8

    #A5B1F8

    oklch(77.8% 0.102 276.4)

  • #EF9BAD

    #EF9BAD

    oklch(77.8% 0.102 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 #CAB768, closest first.

Similar named colors

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

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