#CAB936#CAB936

#CAB936 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.145 H 101.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CAB936
RGBrgb(202, 185, 54)
HSLhsl(53, 58%, 50%)
HSVhsv(53, 73%, 79%)
CMYKcmyk(0%, 8.4%, 73.3%, 20.8%)
CIE-LABlab(74.52, -8.22, 64.56)
CIE-LCHlch(74.52, 65.08, 97.26°)
OKLaboklab(77.76% -0.0294 0.1424)
OKLCHoklch(77.76% 0.145 101.7)
XYZxyz(42.3739, 47.5227, 10.4301)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB936 #3647CA
analogous
#CA6F36 #CAB936 #91CA36
triadic
#CAB936 #36CAB9 #B936CA
tetradic
#CAB936 #36CA6F #3647CA #CA3691
square
#CAB936 #36CA6F #3647CA #CA3691
split-complementary
#CAB936 #3691CA #6F36CA
monochromatic
#6A611C #9A8D29 #CAB936 #D7CA66 #E4DB97

Accessibility & contrast

On white

2.00
#CAB936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CAB936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB936
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB936#FFFFFF#000000##000000
##CAB9361.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31E
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#DAACA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab936;
/* rgb */ color: rgb(202, 185, 54);
/* oklch */ color: oklch(77.8% 0.145 101.7);
Tailwind
colors: {
  custom: {
    50: '#decd76',
    500: '#cab936',
    950: '#000000',
  },
}
SCSS
$custom: #cab936;
$custom-light: #decd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cab936",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 53.108,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77757,
    "c": 0.14538,
    "h": 101.7
  },
  "luminance": 0.47521
}

Semantic roles & 50–950 ramp

primary
#CAB936
secondary
#8D94CF
accent
#58E146
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB936

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

Preview Lab → · Contrast checker → · Palette generator →

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