#CAAB46#CAAB46

#CAAB46 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 75.0% C 0.124 H 92.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CAAB46
RGBrgb(202, 171, 70)
HSLhsl(46, 55%, 53%)
HSVhsv(46, 65%, 79%)
CMYKcmyk(0%, 15.3%, 65.3%, 20.8%)
CIE-LABlab(70.96, -0.04, 54.53)
CIE-LCHlch(70.96, 54.53, 90.04°)
OKLaboklab(74.97% -0.0043 0.1239)
OKLCHoklch(74.97% 0.124 92)
XYZxyz(40.0275, 42.1268, 11.8161)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB46 #4665CA
analogous
#CA6946 #CAAB46 #A7CA46
triadic
#CAAB46 #46CAAB #AB46CA
tetradic
#CAAB46 #46CA69 #4665CA #CA46A7
square
#CAAB46 #46CA69 #4665CA #CA46A7
split-complementary
#CAAB46 #46A7CA #6946CA
monochromatic
#746121 #A4882F #CAAB46 #D8C176 #E5D6A5

Accessibility & contrast

On white

2.23
#CAAB46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#CAAB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB46
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB46#FFFFFF#000000##000000
##CAAB461.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA83A
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#DA9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #caab46;
/* rgb */ color: rgb(202, 171, 70);
/* oklch */ color: oklch(75.0% 0.124 92.0);
Tailwind
colors: {
  custom: {
    50: '#dec37e',
    500: '#caab46',
    950: '#000000',
  },
}
SCSS
$custom: #caab46;
$custom-light: #dec37e;
$custom-dark: #000000;
JSON
{
  "hex": "#caab46",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 45.909,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74971,
    "c": 0.12397,
    "h": 92
  },
  "luminance": 0.42125
}

Semantic roles & 50–950 ramp

primary
#CAAB46
secondary
#9AA7D2
accent
#6CDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAB46

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

Preview Lab → · Contrast checker → · Palette generator →

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