#CAAF39#CAAF39

#CAAF39 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.136 H 95.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#CAAF39
RGBrgb(202, 175, 57)
HSLhsl(49, 58%, 51%)
HSVhsv(49, 72%, 79%)
CMYKcmyk(0%, 13.4%, 71.8%, 20.8%)
CIE-LABlab(71.90, -2.87, 60.90)
CIE-LCHlch(71.90, 60.97, 92.69°)
OKLaboklab(75.69% -0.0139 0.1352)
OKLCHoklch(75.69% 0.136 95.9)
XYZxyz(40.4277, 43.5141, 10.1397)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF39 #3954CA
analogous
#CA6639 #CAAF39 #9CCA39
triadic
#CAAF39 #39CAAF #AF39CA
tetradic
#CAAF39 #39CA66 #3954CA #CA399C
square
#CAAF39 #39CA66 #3954CA #CA399C
split-complementary
#CAAF39 #399CCA #6639CA
monochromatic
#6C5D1D #9C872A #CAAF39 #D7C369 #E4D69A

Accessibility & contrast

On white

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

On black

9.70
#CAAF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF39
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF39#FFFFFF#000000##000000
##CAAF391.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB27
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#DAA197
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #caaf39;
/* rgb */ color: rgb(202, 175, 57);
/* oklch */ color: oklch(75.7% 0.136 95.9);
Tailwind
colors: {
  custom: {
    50: '#dec677',
    500: '#caaf39',
    950: '#000000',
  },
}
SCSS
$custom: #caaf39;
$custom-light: #dec677;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf39",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 48.828,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75686,
    "c": 0.13588,
    "h": 95.9
  },
  "luminance": 0.43512
}

Semantic roles & 50–950 ramp

primary
#CAAF39
secondary
#8F9BD0
accent
#64E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAAF39

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

Preview Lab → · Contrast checker → · Palette generator →

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