#CAB139#CAB139

#CAB139 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.137 H 97.1°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CAB139
RGBrgb(202, 177, 57)
HSLhsl(50, 58%, 51%)
HSVhsv(50, 72%, 79%)
CMYKcmyk(0%, 12.4%, 71.8%, 20.8%)
CIE-LABlab(72.43, -3.92, 61.42)
CIE-LCHlch(72.43, 61.54, 93.65°)
OKLaboklab(76.1% -0.0169 0.1363)
OKLCHoklch(76.1% 0.137 97.1)
XYZxyz(40.8198, 44.2983, 10.2704)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB139 #3952CA
analogous
#CA6839 #CAB139 #9ACA39
triadic
#CAB139 #39CAB1 #B139CA
tetradic
#CAB139 #39CA68 #3952CA #CA399A
square
#CAB139 #39CA68 #3952CA #CA399A
split-complementary
#CAB139 #399ACA #6839CA
monochromatic
#6C5E1D #9C882A #CAB139 #D7C469 #E4D79A

Accessibility & contrast

On white

2.13
#CAB139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#CAB139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB139
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB139#FFFFFF#000000##000000
##CAB1391.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#DAA499
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab139;
/* rgb */ color: rgb(202, 177, 57);
/* oklch */ color: oklch(76.1% 0.137 97.1);
Tailwind
colors: {
  custom: {
    50: '#dec777',
    500: '#cab139',
    950: '#000000',
  },
}
SCSS
$custom: #cab139;
$custom-light: #dec777;
$custom-dark: #000000;
JSON
{
  "hex": "#cab139",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 49.655,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76101,
    "c": 0.1373,
    "h": 97.1
  },
  "luminance": 0.44296
}

Semantic roles & 50–950 ramp

primary
#CAB139
secondary
#8F9AD0
accent
#61E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB139

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

Preview Lab → · Contrast checker → · Palette generator →

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