#CAAF46#CAAF46

#CAAF46 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.127 H 94.7°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CAAF46
RGBrgb(202, 175, 70)
HSLhsl(48, 55%, 53%)
HSVhsv(48, 65%, 79%)
CMYKcmyk(0%, 13.4%, 65.3%, 20.8%)
CIE-LABlab(72.00, -2.16, 55.65)
CIE-LCHlch(72.00, 55.69, 92.22°)
OKLaboklab(75.8% -0.0104 0.1263)
OKLCHoklch(75.8% 0.127 94.7)
XYZxyz(40.7945, 43.6608, 12.0718)
Luminance0.4366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF46 #4661CA
analogous
#CA6D46 #CAAF46 #A3CA46
triadic
#CAAF46 #46CAAF #AF46CA
tetradic
#CAAF46 #46CA6D #4661CA #CA46A3
square
#CAAF46 #46CA6D #4661CA #CA46A3
split-complementary
#CAAF46 #46A3CA #6D46CA
monochromatic
#746321 #A48C2F #CAAF46 #D8C476 #E5D8A5

Accessibility & contrast

On white

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

On black

9.73
#CAAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF46
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF46#FFFFFF#000000##000000
##CAAF461.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC39
Deuteranopia (green-blind)
#C7B44B
Tritanopia (blue-blind)
#DAA299
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #caaf46;
/* rgb */ color: rgb(202, 175, 70);
/* oklch */ color: oklch(75.8% 0.127 94.7);
Tailwind
colors: {
  custom: {
    50: '#ddc67e',
    500: '#caaf46',
    950: '#000000',
  },
}
SCSS
$custom: #caaf46;
$custom-light: #ddc67e;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf46",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 47.727,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75795,
    "c": 0.1267,
    "h": 94.7
  },
  "luminance": 0.43659
}

Semantic roles & 50–950 ramp

primary
#CAAF46
secondary
#9AA5D2
accent
#68DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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