#CAB635#CAB635

#CAB635 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.1% C 0.144 H 100.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CAB635
RGBrgb(202, 182, 53)
HSLhsl(52, 58%, 50%)
HSVhsv(52, 74%, 79%)
CMYKcmyk(0%, 9.9%, 73.8%, 20.8%)
CIE-LABlab(73.72, -6.71, 64.15)
CIE-LCHlch(73.72, 64.50, 95.97°)
OKLaboklab(77.12% -0.0253 0.1413)
OKLCHoklch(77.12% 0.144 100.1)
XYZxyz(41.7297, 46.2715, 10.1007)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB635 #3549CA
analogous
#CA6B35 #CAB635 #94CA35
triadic
#CAB635 #35CAB6 #B635CA
tetradic
#CAB635 #35CA6B #3549CA #CA3594
square
#CAB635 #35CA6B #3549CA #CA3594
split-complementary
#CAB635 #3594CA #6B35CA
monochromatic
#695F1C #9A8A28 #CAB635 #D7C865 #E3D996

Accessibility & contrast

On white

2.05
#CAB635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CAB635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB635
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB635#FFFFFF#000000##000000
##CAB6351.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11E
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#DAA99D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab635;
/* rgb */ color: rgb(202, 182, 53);
/* oklch */ color: oklch(77.1% 0.144 100.1);
Tailwind
colors: {
  custom: {
    50: '#decb75',
    500: '#cab635',
    950: '#000000',
  },
}
SCSS
$custom: #cab635;
$custom-light: #decb75;
$custom-dark: #000000;
JSON
{
  "hex": "#cab635",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 53
  },
  "hsl": {
    "h": 51.946,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.77119,
    "c": 0.14355,
    "h": 100.1
  },
  "luminance": 0.46269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB635

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

Preview Lab → · Contrast checker → · Palette generator →

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