#CAB64A#CAB64A

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

Color values

HEX#CAB64A
RGBrgb(202, 182, 74)
HSLhsl(51, 55%, 54%)
HSVhsv(51, 63%, 79%)
CMYKcmyk(0%, 9.9%, 63.4%, 20.8%)
CIE-LABlab(73.87, -5.58, 55.91)
CIE-LCHlch(73.87, 56.19, 95.70°)
OKLaboklab(77.29% -0.0197 0.1274)
OKLCHoklch(77.29% 0.129 98.8)
XYZxyz(42.3229, 46.5088, 13.2250)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB64A #4A5ECA
analogous
#CA764A #CAB64A #9ECA4A
triadic
#CAB64A #4ACAB6 #B64ACA
tetradic
#CAB64A #4ACA76 #4A5ECA #CA4A9E
square
#CAB64A #4ACA76 #4A5ECA #CA4A9E
split-complementary
#CAB64A #4A9ECA #764ACA
monochromatic
#776A23 #A69431 #CAB64A #D8C979 #E6DCA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB64A#FFFFFF#000000##000000
##CAB64A1.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)
#C7B13D
Deuteranopia (green-blind)
#CCB950
Tritanopia (blue-blind)
#D9A99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab64a;
/* rgb */ color: rgb(202, 182, 74);
/* oklch */ color: oklch(77.3% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#ddcb81',
    500: '#cab64a',
    950: '#000000',
  },
}
SCSS
$custom: #cab64a;
$custom-light: #ddcb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cab64a",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 50.625,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77289,
    "c": 0.12895,
    "h": 98.8
  },
  "luminance": 0.46507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB64A

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

Preview Lab → · Contrast checker → · Palette generator →

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