#CAAC51#CAAC51

#CAAC51 is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.116 H 91.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CAAC51
RGBrgb(202, 172, 81)
HSLhsl(45, 53%, 55%)
HSVhsv(45, 60%, 79%)
CMYKcmyk(0%, 14.9%, 59.9%, 20.8%)
CIE-LABlab(71.32, 0.16, 49.90)
CIE-LCHlch(71.32, 49.90, 89.82°)
OKLaboklab(75.29% -0.0024 0.1156)
OKLCHoklch(75.29% 0.116 91.2)
XYZxyz(40.5967, 42.6578, 13.8784)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAC51 #516FCA
analogous
#CA6F51 #CAAC51 #ABCA51
triadic
#CAAC51 #51CAAC #AC51CA
tetradic
#CAAC51 #51CA6F #516FCA #CA51AB
square
#CAAC51 #51CA6F #516FCA #CA51AB
split-complementary
#CAAC51 #51ABCA #6F51CA
monochromatic
#7B6625 #AA8D34 #CAAC51 #D8C280 #E7D9AF

Accessibility & contrast

On white

2.20
#CAAC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CAAC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAC51
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAC51#FFFFFF#000000##000000
##CAAC511.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA48
Deuteranopia (green-blind)
#C4B255
Tritanopia (blue-blind)
#D9A098
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #caac51;
/* rgb */ color: rgb(202, 172, 81);
/* oklch */ color: oklch(75.3% 0.116 91.2);
Tailwind
colors: {
  custom: {
    50: '#ddc485',
    500: '#caac51',
    950: '#000000',
  },
}
SCSS
$custom: #caac51;
$custom-light: #ddc485;
$custom-dark: #000000;
JSON
{
  "hex": "#caac51",
  "rgb": {
    "r": 202,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 45.124,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75292,
    "c": 0.11559,
    "h": 91.2
  },
  "luminance": 0.42656
}

Semantic roles & 50–950 ramp

primary
#CAAC51
secondary
#A2AFD5
accent
#6FDD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #CAAC51

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

Preview Lab → · Contrast checker → · Palette generator →

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