#CAAF56#CAAF56

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

Color values

HEX#CAAF56
RGBrgb(202, 175, 86)
HSLhsl(46, 52%, 56%)
HSVhsv(46, 57%, 79%)
CMYKcmyk(0%, 13.4%, 57.4%, 20.8%)
CIE-LABlab(72.16, -1.06, 48.48)
CIE-LCHlch(72.16, 48.49, 91.25°)
OKLaboklab(75.97% -0.0053 0.1131)
OKLCHoklch(75.97% 0.113 92.7)
XYZxyz(41.3685, 43.8904, 15.0950)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAF56 #5671CA
analogous
#CA7556 #CAAF56 #ABCA56
triadic
#CAAF56 #56CAAF #AF56CA
tetradic
#CAAF56 #56CA75 #5671CA #CA56AB
square
#CAAF56 #56CA75 #5671CA #CA56AB
split-complementary
#CAAF56 #56ABCA #7556CA
monochromatic
#7E6A28 #AD9136 #CAAF56 #D9C585 #E7DBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAAF56#FFFFFF#000000##000000
##CAAF561.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)
#BFAC4D
Deuteranopia (green-blind)
#C6B45A
Tritanopia (blue-blind)
#D9A39B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caaf56;
/* rgb */ color: rgb(202, 175, 86);
/* oklch */ color: oklch(76.0% 0.113 92.7);
Tailwind
colors: {
  custom: {
    50: '#ddc688',
    500: '#caaf56',
    950: '#000000',
  },
}
SCSS
$custom: #caaf56;
$custom-light: #ddc688;
$custom-dark: #000000;
JSON
{
  "hex": "#caaf56",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 86
  },
  "hsl": {
    "h": 46.034,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.75966,
    "c": 0.11322,
    "h": 92.7
  },
  "luminance": 0.43888
}

Semantic roles & 50–950 ramp

primary
#CAAF56
secondary
#A6B1D6
accent
#6EDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAAF56

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

Preview Lab → · Contrast checker → · Palette generator →

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