#CAB047#CAB047

#CAB047 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.127 H 95.3°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CAB047
RGBrgb(202, 176, 71)
HSLhsl(48, 55%, 54%)
HSVhsv(48, 65%, 79%)
CMYKcmyk(0%, 12.9%, 64.9%, 20.8%)
CIE-LABlab(72.27, -2.62, 55.50)
CIE-LCHlch(72.27, 55.56, 92.71°)
OKLaboklab(76.01% -0.0116 0.1261)
OKLCHoklch(76.01% 0.127 95.3)
XYZxyz(41.0217, 44.0642, 12.3045)
Luminance0.4406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB047 #4761CA
analogous
#CA6E47 #CAB047 #A2CA47
triadic
#CAB047 #47CAB0 #B047CA
tetradic
#CAB047 #47CA6E #4761CA #CA47A2
square
#CAB047 #47CA6E #4761CA #CA47A2
split-complementary
#CAB047 #47A2CA #6E47CA
monochromatic
#756422 #A48D2F #CAB047 #D8C477 #E5D9A6

Accessibility & contrast

On white

2.14
#CAB047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#CAB047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB047
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB047#FFFFFF#000000##000000
##CAB0471.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3B
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#D9A39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab047;
/* rgb */ color: rgb(202, 176, 71);
/* oklch */ color: oklch(76.0% 0.127 95.3);
Tailwind
colors: {
  custom: {
    50: '#ddc77f',
    500: '#cab047',
    950: '#000000',
  },
}
SCSS
$custom: #cab047;
$custom-light: #ddc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab047",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 48.092,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76012,
    "c": 0.12664,
    "h": 95.3
  },
  "luminance": 0.44062
}

Semantic roles & 50–950 ramp

primary
#CAB047
secondary
#9AA5D2
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB047

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

Preview Lab → · Contrast checker → · Palette generator →

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