#CAB535#CAB535

#CAB535 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.9% C 0.143 H 99.6°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CAB535
RGBrgb(202, 181, 53)
HSLhsl(52, 58%, 50%)
HSVhsv(52, 74%, 79%)
CMYKcmyk(0%, 10.4%, 73.8%, 20.8%)
CIE-LABlab(73.46, -6.19, 63.90)
CIE-LCHlch(73.46, 64.20, 95.53°)
OKLaboklab(76.91% -0.0238 0.1408)
OKLCHoklch(76.91% 0.143 99.6)
XYZxyz(41.5256, 45.8634, 10.0327)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB535 #354ACA
analogous
#CA6B35 #CAB535 #94CA35
triadic
#CAB535 #35CAB5 #B535CA
tetradic
#CAB535 #35CA6B #354ACA #CA3594
square
#CAB535 #35CA6B #354ACA #CA3594
split-complementary
#CAB535 #3594CA #6B35CA
monochromatic
#695E1C #9A8A28 #CAB535 #D7C765 #E3D996

Accessibility & contrast

On white

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

On black

10.17
#CAB535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB535
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB535#FFFFFF#000000##000000
##CAB5351.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01E
Deuteranopia (green-blind)
#CCB83D
Tritanopia (blue-blind)
#DAA89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab535;
/* rgb */ color: rgb(202, 181, 53);
/* oklch */ color: oklch(76.9% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#deca75',
    500: '#cab535',
    950: '#000000',
  },
}
SCSS
$custom: #cab535;
$custom-light: #deca75;
$custom-dark: #000000;
JSON
{
  "hex": "#cab535",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 51.544,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.76909,
    "c": 0.14277,
    "h": 99.6
  },
  "luminance": 0.45861
}

Semantic roles & 50–950 ramp

primary
#CAB535
secondary
#8C95CF
accent
#5CE246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB535

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

Preview Lab → · Contrast checker → · Palette generator →

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