#CAAF57#CAAF57

#CAAF57 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.112 H 92.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CAAF57
RGBrgb(202, 175, 87)
HSLhsl(46, 52%, 57%)
HSVhsv(46, 57%, 79%)
CMYKcmyk(0%, 13.4%, 56.9%, 20.8%)
CIE-LABlab(72.17, -0.98, 48.01)
CIE-LCHlch(72.17, 48.02, 91.17°)
OKLaboklab(75.98% -0.0049 0.1122)
OKLCHoklch(75.98% 0.112 92.5)
XYZxyz(41.4091, 43.9066, 15.3087)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF57 #5772CA
analogous
#CA7657 #CAAF57 #ACCA57
triadic
#CAAF57 #57CAAF #AF57CA
tetradic
#CAAF57 #57CA76 #5772CA #CA57AC
square
#CAAF57 #57CA76 #5772CA #CA57AC
split-complementary
#CAAF57 #57ACCA #7657CA
monochromatic
#7F6A28 #AD9137 #CAAF57 #D9C586 #E7DBB4

Accessibility & contrast

On white

2.15
#CAAF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CAAF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAF57
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAF57#FFFFFF#000000##000000
##CAAF571.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4F
Deuteranopia (green-blind)
#C6B45B
Tritanopia (blue-blind)
#D9A39B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf57;
/* rgb */ color: rgb(202, 175, 87);
/* oklch */ color: oklch(76.0% 0.112 92.5);
Tailwind
colors: {
  custom: {
    50: '#ddc689',
    500: '#caaf57',
    950: '#000000',
  },
}
SCSS
$custom: #caaf57;
$custom-light: #ddc689;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf57",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 45.913,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.75979,
    "c": 0.11232,
    "h": 92.5
  },
  "luminance": 0.43905
}

Semantic roles & 50–950 ramp

primary
#CAAF57
secondary
#A7B2D6
accent
#6EDB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAAF57

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

Preview Lab → · Contrast checker → · Palette generator →

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