#CAAB3F#CAAB3F

#CAAB3F is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.129 H 92.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#CAAB3F
RGBrgb(202, 171, 63)
HSLhsl(47, 57%, 52%)
HSVhsv(47, 69%, 79%)
CMYKcmyk(0%, 15.3%, 68.8%, 20.8%)
CIE-LABlab(70.90, -0.44, 57.48)
CIE-LCHlch(70.90, 57.48, 90.44°)
OKLaboklab(74.91% -0.0063 0.129)
OKLCHoklch(74.91% 0.129 92.8)
XYZxyz(39.8193, 42.0435, 10.7195)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB3F #3F5ECA
analogous
#CA663F #CAAB3F #A3CA3F
triadic
#CAAB3F #3FCAAB #AB3FCA
tetradic
#CAAB3F #3FCA66 #3F5ECA #CA3FA3
square
#CAAB3F #3FCA66 #3F5ECA #CA3FA3
split-complementary
#CAAB3F #3FA3CA #663FCA
monochromatic
#705E1F #A0862C #CAAB3F #D7C06F #E4D59F

Accessibility & contrast

On white

2.23
#CAAB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CAAB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB3F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB3F#FFFFFF#000000##000000
##CAAB3F1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C5B145
Tritanopia (blue-blind)
#DA9E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caab3f;
/* rgb */ color: rgb(202, 171, 63);
/* oklch */ color: oklch(74.9% 0.129 92.8);
Tailwind
colors: {
  custom: {
    50: '#dec37a',
    500: '#caab3f',
    950: '#000000',
  },
}
SCSS
$custom: #caab3f;
$custom-light: #dec37a;
$custom-dark: #000000;
JSON
{
  "hex": "#caab3f",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 46.619,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74908,
    "c": 0.12915,
    "h": 92.8
  },
  "luminance": 0.42041
}

Semantic roles & 50–950 ramp

primary
#CAAB3F
secondary
#94A2D1
accent
#6AE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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