#CAB53E#CAB53E

#CAB53E is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.0% C 0.137 H 99.1°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CAB53E
RGBrgb(202, 181, 62)
HSLhsl(51, 57%, 52%)
HSVhsv(51, 69%, 79%)
CMYKcmyk(0%, 10.4%, 69.3%, 20.8%)
CIE-LABlab(73.52, -5.76, 60.55)
CIE-LCHlch(73.52, 60.83, 95.43°)
OKLaboklab(76.97% -0.0216 0.1353)
OKLCHoklch(76.97% 0.137 99.1)
XYZxyz(41.7524, 45.9541, 11.2273)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB53E #3E53CA
analogous
#CA6F3E #CAB53E #99CA3E
triadic
#CAB53E #3ECAB5 #B53ECA
tetradic
#CAB53E #3ECA6F #3E53CA #CA3E99
square
#CAB53E #3ECA6F #3E53CA #CA3E99
split-complementary
#CAB53E #3E99CA #6F3ECA
monochromatic
#6F631F #9F8E2C #CAB53E #D7C76E #E4DA9E

Accessibility & contrast

On white

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

On black

10.19
#CAB53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB53E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB53E#FFFFFF#000000##000000
##CAB53E1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02D
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#D9A89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab53e;
/* rgb */ color: rgb(202, 181, 62);
/* oklch */ color: oklch(77.0% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#deca7a',
    500: '#cab53e',
    950: '#000000',
  },
}
SCSS
$custom: #cab53e;
$custom-light: #deca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab53e",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 62
  },
  "hsl": {
    "h": 51,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76974,
    "c": 0.13703,
    "h": 99.1
  },
  "luminance": 0.45952
}

Semantic roles & 50–950 ramp

primary
#CAB53E
secondary
#939CD1
accent
#5FE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB53E

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

Preview Lab → · Contrast checker → · Palette generator →

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