#CAAC4F#CAAC4F

#CAAC4F is a light, moderate yellow. Relative luminance 0.426; OKLCH L 75.3% C 0.117 H 91.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CAAC4F
RGBrgb(202, 172, 79)
HSLhsl(45, 54%, 55%)
HSVhsv(45, 61%, 79%)
CMYKcmyk(0%, 14.9%, 60.9%, 20.8%)
CIE-LABlab(71.30, 0.02, 50.82)
CIE-LCHlch(71.30, 50.82, 89.98°)
OKLaboklab(75.27% -0.003 0.1173)
OKLCHoklch(75.27% 0.117 91.5)
XYZxyz(40.5228, 42.6283, 13.4893)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAC4F #4F6DCA
analogous
#CA6F4F #CAAC4F #AACA4F
triadic
#CAAC4F #4FCAAC #AC4FCA
tetradic
#CAAC4F #4FCA6F #4F6DCA #CA4FAA
square
#CAAC4F #4FCA6F #4F6DCA #CA4FAA
split-complementary
#CAAC4F #4FAACA #6F4FCA
monochromatic
#7A6525 #A98C33 #CAAC4F #D8C27E #E6D8AD

Accessibility & contrast

On white

2.20
#CAAC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CAAC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAC4F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAC4F#FFFFFF#000000##000000
##CAAC4F1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA45
Deuteranopia (green-blind)
#C4B253
Tritanopia (blue-blind)
#D9A098
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #caac4f;
/* rgb */ color: rgb(202, 172, 79);
/* oklch */ color: oklch(75.3% 0.117 91.5);
Tailwind
colors: {
  custom: {
    50: '#ddc484',
    500: '#caac4f',
    950: '#000000',
  },
}
SCSS
$custom: #caac4f;
$custom-light: #ddc484;
$custom-dark: #000000;
JSON
{
  "hex": "#caac4f",
  "rgb": {
    "r": 202,
    "g": 172,
    "b": 79
  },
  "hsl": {
    "h": 45.366,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7527,
    "c": 0.11732,
    "h": 91.5
  },
  "luminance": 0.42626
}

Semantic roles & 50–950 ramp

primary
#CAAC4F
secondary
#A1ADD4
accent
#6EDD4B
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15120B
muted
#84817C

Preview Lab

Preview with #CAAC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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