#CAAF3F#CAAF3F

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

Color values

HEX#CAAF3F
RGBrgb(202, 175, 63)
HSLhsl(48, 57%, 52%)
HSVhsv(48, 69%, 79%)
CMYKcmyk(0%, 13.4%, 68.8%, 20.8%)
CIE-LABlab(71.95, -2.56, 58.55)
CIE-LCHlch(71.95, 58.61, 92.50°)
OKLaboklab(75.73% -0.0124 0.1313)
OKLCHoklch(75.73% 0.132 95.4)
XYZxyz(40.5863, 43.5775, 10.9752)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF3F #3F5ACA
analogous
#CA693F #CAAF3F #A0CA3F
triadic
#CAAF3F #3FCAAF #AF3FCA
tetradic
#CAAF3F #3FCA69 #3F5ACA #CA3FA0
square
#CAAF3F #3FCA69 #3F5ACA #CA3FA0
split-complementary
#CAAF3F #3FA0CA #693FCA
monochromatic
#70601F #A0892C #CAAF3F #D7C36F #E4D79F

Accessibility & contrast

On white

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

On black

9.72
#CAAF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF3F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF3F#FFFFFF#000000##000000
##CAAF3F1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caaf3f;
/* rgb */ color: rgb(202, 175, 63);
/* oklch */ color: oklch(75.7% 0.132 95.4);
Tailwind
colors: {
  custom: {
    50: '#dec67a',
    500: '#caaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #caaf3f;
$custom-light: #dec67a;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf3f",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 48.345,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75733,
    "c": 0.13185,
    "h": 95.4
  },
  "luminance": 0.43575
}

Semantic roles & 50–950 ramp

primary
#CAAF3F
secondary
#94A0D1
accent
#65E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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