#CAAF4F#CAAF4F

#CAAF4F is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.119 H 93.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CAAF4F
RGBrgb(202, 175, 79)
HSLhsl(47, 54%, 55%)
HSVhsv(47, 61%, 79%)
CMYKcmyk(0%, 13.4%, 60.9%, 20.8%)
CIE-LABlab(72.08, -1.57, 51.69)
CIE-LCHlch(72.08, 51.72, 91.74°)
OKLaboklab(75.89% -0.0076 0.1192)
OKLCHoklch(75.89% 0.119 93.7)
XYZxyz(41.1002, 43.7831, 13.6817)
Luminance0.4378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF4F #4F6ACA
analogous
#CA714F #CAAF4F #A8CA4F
triadic
#CAAF4F #4FCAAF #AF4FCA
tetradic
#CAAF4F #4FCA71 #4F6ACA #CA4FA8
square
#CAAF4F #4FCA71 #4F6ACA #CA4FA8
split-complementary
#CAAF4F #4FA8CA #714FCA
monochromatic
#7A6725 #A98F33 #CAAF4F #D8C47E #E6DAAD

Accessibility & contrast

On white

2.15
#CAAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#CAAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF4F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF4F#FFFFFF#000000##000000
##CAAF4F1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC45
Deuteranopia (green-blind)
#C7B453
Tritanopia (blue-blind)
#D9A39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf4f;
/* rgb */ color: rgb(202, 175, 79);
/* oklch */ color: oklch(75.9% 0.119 93.7);
Tailwind
colors: {
  custom: {
    50: '#ddc684',
    500: '#caaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #caaf4f;
$custom-light: #ddc684;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf4f",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 46.829,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75886,
    "c": 0.11939,
    "h": 93.7
  },
  "luminance": 0.43781
}

Semantic roles & 50–950 ramp

primary
#CAAF4F
secondary
#A1ACD4
accent
#6BDD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAAF4F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CAAF4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva