#CAB64C#CAB64C

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

Color values

HEX#CAB64C
RGBrgb(202, 182, 76)
HSLhsl(50, 54%, 55%)
HSVhsv(50, 62%, 79%)
CMYKcmyk(0%, 9.9%, 62.4%, 20.8%)
CIE-LABlab(73.89, -5.45, 55.05)
CIE-LCHlch(73.89, 55.32, 95.65°)
OKLaboklab(77.31% -0.0191 0.1259)
OKLCHoklch(77.31% 0.127 98.6)
XYZxyz(42.3913, 46.5361, 13.5855)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB64C #4C60CA
analogous
#CA774C #CAB64C #9FCA4C
triadic
#CAB64C #4CCAB6 #B64CCA
tetradic
#CAB64C #4CCA77 #4C60CA #CA4C9F
square
#CAB64C #4CCA77 #4C60CA #CA4C9F
split-complementary
#CAB64C #4C9FCA #774CCA
monochromatic
#786B24 #A79532 #CAB64C #D8C97B #E6DDAA

Accessibility & contrast

On white

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

On black

10.31
#CAB64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB64C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB64C#FFFFFF#000000##000000
##CAB64C1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab64c;
/* rgb */ color: rgb(202, 182, 76);
/* oklch */ color: oklch(77.3% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#ddcb82',
    500: '#cab64c',
    950: '#000000',
  },
}
SCSS
$custom: #cab64c;
$custom-light: #ddcb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cab64c",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 76
  },
  "hsl": {
    "h": 50.476,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77309,
    "c": 0.12733,
    "h": 98.6
  },
  "luminance": 0.46534
}

Semantic roles & 50–950 ramp

primary
#CAB64C
secondary
#9EA7D4
accent
#62DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB64C

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

Preview Lab → · Contrast checker → · Palette generator →

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