#CAB53B#CAB53B

#CAB53B is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.139 H 99.3°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CAB53B
RGBrgb(202, 181, 59)
HSLhsl(51, 57%, 51%)
HSVhsv(51, 71%, 79%)
CMYKcmyk(0%, 10.4%, 70.8%, 20.8%)
CIE-LABlab(73.50, -5.91, 61.71)
CIE-LCHlch(73.50, 61.99, 95.47°)
OKLaboklab(76.95% -0.0223 0.1372)
OKLCHoklch(76.95% 0.139 99.3)
XYZxyz(41.6724, 45.9221, 10.8056)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB53B #3B50CA
analogous
#CA6D3B #CAB53B #97CA3B
triadic
#CAB53B #3BCAB5 #B53BCA
tetradic
#CAB53B #3BCA6D #3B50CA #CA3B97
square
#CAB53B #3BCA6D #3B50CA #CA3B97
split-complementary
#CAB53B #3B97CA #6D3BCA
monochromatic
#6D611E #9D8C2B #CAB53B #D7C76B #E4D99B

Accessibility & contrast

On white

2.06
#CAB53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CAB53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB53B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB53B#FFFFFF#000000##000000
##CAB53B1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B028
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#DAA89D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab53b;
/* rgb */ color: rgb(202, 181, 59);
/* oklch */ color: oklch(77.0% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#deca78',
    500: '#cab53b',
    950: '#000000',
  },
}
SCSS
$custom: #cab53b;
$custom-light: #deca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cab53b",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 59
  },
  "hsl": {
    "h": 51.189,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76951,
    "c": 0.13904,
    "h": 99.3
  },
  "luminance": 0.4592
}

Semantic roles & 50–950 ramp

primary
#CAB53B
secondary
#919AD0
accent
#5EE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB53B

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

Preview Lab → · Contrast checker → · Palette generator →

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