#CAAF3E#CAAF3E

#CAAF3E is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.7% C 0.133 H 95.5°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CAAF3E
RGBrgb(202, 175, 62)
HSLhsl(48, 57%, 52%)
HSVhsv(48, 69%, 79%)
CMYKcmyk(0%, 13.4%, 69.3%, 20.8%)
CIE-LABlab(71.94, -2.61, 58.95)
CIE-LCHlch(71.94, 59.01, 92.54°)
OKLaboklab(75.72% -0.0126 0.1319)
OKLCHoklch(75.72% 0.133 95.5)
XYZxyz(40.5586, 43.5664, 10.8293)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF3E #3E59CA
analogous
#CA693E #CAAF3E #9FCA3E
triadic
#CAAF3E #3ECAAF #AF3ECA
tetradic
#CAAF3E #3ECA69 #3E59CA #CA3E9F
square
#CAAF3E #3ECA69 #3E59CA #CA3E9F
split-complementary
#CAAF3E #3E9FCA #693ECA
monochromatic
#6F601F #9F892C #CAAF3E #D7C36E #E4D79E

Accessibility & contrast

On white

2.16
#CAAF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CAAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF3E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF3E#FFFFFF#000000##000000
##CAAF3E1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2E
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#DAA298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #caaf3e;
/* rgb */ color: rgb(202, 175, 62);
/* oklch */ color: oklch(75.7% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#dec67a',
    500: '#caaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #caaf3e;
$custom-light: #dec67a;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf3e",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 48.429,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75725,
    "c": 0.13254,
    "h": 95.5
  },
  "luminance": 0.43564
}

Semantic roles & 50–950 ramp

primary
#CAAF3E
secondary
#939FD1
accent
#65E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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