#CAAB38#CAAB38

#CAAB38 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.134 H 93.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#CAAB38
RGBrgb(202, 171, 56)
HSLhsl(47, 58%, 51%)
HSVhsv(47, 72%, 79%)
CMYKcmyk(0%, 15.3%, 72.3%, 20.8%)
CIE-LABlab(70.85, -0.80, 60.25)
CIE-LCHlch(70.85, 60.26, 90.76°)
OKLaboklab(74.85% -0.0081 0.1336)
OKLCHoklch(74.85% 0.134 93.5)
XYZxyz(39.6360, 41.9702, 9.7540)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB38 #3857CA
analogous
#CA6238 #CAAB38 #A0CA38
triadic
#CAAB38 #38CAAB #AB38CA
tetradic
#CAAB38 #38CA62 #3857CA #CA38A0
square
#CAAB38 #38CA62 #3857CA #CA38A0
split-complementary
#CAAB38 #38A0CA #6238CA
monochromatic
#6B5A1D #9B8329 #CAAB38 #D7BF68 #E4D499

Accessibility & contrast

On white

2.24
#CAAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#CAAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB38
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB38#FFFFFF#000000##000000
##CAAB381.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#DA9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caab38;
/* rgb */ color: rgb(202, 171, 56);
/* oklch */ color: oklch(74.9% 0.134 93.5);
Tailwind
colors: {
  custom: {
    50: '#dec376',
    500: '#caab38',
    950: '#000000',
  },
}
SCSS
$custom: #caab38;
$custom-light: #dec376;
$custom-dark: #000000;
JSON
{
  "hex": "#caab38",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 47.26,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74852,
    "c": 0.13386,
    "h": 93.5
  },
  "luminance": 0.41968
}

Semantic roles & 50–950 ramp

primary
#CAAB38
secondary
#8E9CCF
accent
#67E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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