#CAB64B#CAB64B

#CAB64B is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.3% C 0.128 H 98.7°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CAB64B
RGBrgb(202, 182, 75)
HSLhsl(51, 55%, 54%)
HSVhsv(51, 63%, 79%)
CMYKcmyk(0%, 9.9%, 62.9%, 20.8%)
CIE-LABlab(73.88, -5.51, 55.48)
CIE-LCHlch(73.88, 55.75, 95.68°)
OKLaboklab(77.3% -0.0194 0.1267)
OKLCHoklch(77.3% 0.128 98.7)
XYZxyz(42.3568, 46.5223, 13.4039)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB64B #4B5FCA
analogous
#CA774B #CAB64B #9FCA4B
triadic
#CAB64B #4BCAB6 #B64BCA
tetradic
#CAB64B #4BCA77 #4B5FCA #CA4B9F
square
#CAB64B #4BCA77 #4B5FCA #CA4B9F
split-complementary
#CAB64B #4B9FCA #774BCA
monochromatic
#776A23 #A79431 #CAB64B #D8C97A #E6DCAA

Accessibility & contrast

On white

2.04
#CAB64B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CAB64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB64B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB64B#FFFFFF#000000##000000
##CAB64B1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13F
Deuteranopia (green-blind)
#CCB951
Tritanopia (blue-blind)
#D9AA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab64b;
/* rgb */ color: rgb(202, 182, 75);
/* oklch */ color: oklch(77.3% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#ddcb82',
    500: '#cab64b',
    950: '#000000',
  },
}
SCSS
$custom: #cab64b;
$custom-light: #ddcb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cab64b",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 75
  },
  "hsl": {
    "h": 50.551,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77299,
    "c": 0.12814,
    "h": 98.7
  },
  "luminance": 0.4652
}

Semantic roles & 50–950 ramp

primary
#CAB64B
secondary
#9DA6D3
accent
#61DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB64B

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

Preview Lab → · Contrast checker → · Palette generator →

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