#CAAB4C#CAAB4C

#CAAB4C is a light, moderate yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.119 H 91.2°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CAAB4C
RGBrgb(202, 171, 76)
HSLhsl(45, 54%, 55%)
HSVhsv(45, 62%, 79%)
CMYKcmyk(0%, 15.3%, 62.4%, 20.8%)
CIE-LABlab(71.01, 0.34, 51.89)
CIE-LCHlch(71.01, 51.89, 89.62°)
OKLaboklab(75.03% -0.0024 0.1192)
OKLCHoklch(75.03% 0.119 91.2)
XYZxyz(40.2264, 42.2064, 12.8639)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB4C #4C6BCA
analogous
#CA6C4C #CAAB4C #AACA4C
triadic
#CAAB4C #4CCAAB #AB4CCA
tetradic
#CAAB4C #4CCA6C #4C6BCA #CA4CAA
square
#CAAB4C #4CCA6C #4C6BCA #CA4CAA
split-complementary
#CAAB4C #4CAACA #6C4CCA
monochromatic
#786324 #A78A32 #CAAB4C #D8C17B #E6D7AA

Accessibility & contrast

On white

2.22
#CAAB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#CAAB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB4C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB4C#FFFFFF#000000##000000
##CAAB4C1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA942
Deuteranopia (green-blind)
#C4B250
Tritanopia (blue-blind)
#D99E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caab4c;
/* rgb */ color: rgb(202, 171, 76);
/* oklch */ color: oklch(75.0% 0.119 91.2);
Tailwind
colors: {
  custom: {
    50: '#ddc382',
    500: '#caab4c',
    950: '#000000',
  },
}
SCSS
$custom: #caab4c;
$custom-light: #ddc382;
$custom-dark: #000000;
JSON
{
  "hex": "#caab4c",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 76
  },
  "hsl": {
    "h": 45.238,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75032,
    "c": 0.11918,
    "h": 91.2
  },
  "luminance": 0.42204
}

Semantic roles & 50–950 ramp

primary
#CAAB4C
secondary
#9EABD4
accent
#6EDE4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#15120B
muted
#84817C

Preview Lab

Preview with #CAAB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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