#CAB039#CAB039

#CAB039 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.137 H 96.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CAB039
RGBrgb(202, 176, 57)
HSLhsl(49, 58%, 51%)
HSVhsv(49, 72%, 79%)
CMYKcmyk(0%, 12.9%, 71.8%, 20.8%)
CIE-LABlab(72.16, -3.39, 61.16)
CIE-LCHlch(72.16, 61.26, 93.17°)
OKLaboklab(75.89% -0.0154 0.1357)
OKLCHoklch(75.89% 0.137 96.5)
XYZxyz(40.6230, 43.9048, 10.2048)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB039 #3953CA
analogous
#CA6739 #CAB039 #9CCA39
triadic
#CAB039 #39CAB0 #B039CA
tetradic
#CAB039 #39CA67 #3953CA #CA399C
square
#CAB039 #39CA67 #3953CA #CA399C
split-complementary
#CAB039 #399CCA #6739CA
monochromatic
#6C5E1D #9C882A #CAB039 #D7C369 #E4D79A

Accessibility & contrast

On white

2.15
#CAB039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CAB039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB039
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB039#FFFFFF#000000##000000
##CAB0391.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC27
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#DAA398
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab039;
/* rgb */ color: rgb(202, 176, 57);
/* oklch */ color: oklch(75.9% 0.137 96.5);
Tailwind
colors: {
  custom: {
    50: '#dec777',
    500: '#cab039',
    950: '#000000',
  },
}
SCSS
$custom: #cab039;
$custom-light: #dec777;
$custom-dark: #000000;
JSON
{
  "hex": "#cab039",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 57
  },
  "hsl": {
    "h": 49.241,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75893,
    "c": 0.13659,
    "h": 96.5
  },
  "luminance": 0.43903
}

Semantic roles & 50–950 ramp

primary
#CAB039
secondary
#8F9BD0
accent
#62E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB039

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

Preview Lab → · Contrast checker → · Palette generator →

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