#CAB64F#CAB64F

#CAB64F is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.3% C 0.125 H 98.4°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CAB64F
RGBrgb(202, 182, 79)
HSLhsl(50, 54%, 55%)
HSVhsv(50, 61%, 79%)
CMYKcmyk(0%, 9.9%, 60.9%, 20.8%)
CIE-LABlab(73.92, -5.25, 53.73)
CIE-LCHlch(73.92, 53.99, 95.58°)
OKLaboklab(77.34% -0.0182 0.1235)
OKLCHoklch(77.34% 0.125 98.4)
XYZxyz(42.4981, 46.5788, 14.1477)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB64F #4F63CA
analogous
#CA794F #CAB64F #A0CA4F
triadic
#CAB64F #4FCAB6 #B64FCA
tetradic
#CAB64F #4FCA79 #4F63CA #CA4FA0
square
#CAB64F #4FCA79 #4F63CA #CA4FA0
split-complementary
#CAB64F #4FA0CA #794FCA
monochromatic
#7A6C25 #A99633 #CAB64F #D8CA7E #E6DDAD

Accessibility & contrast

On white

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

On black

10.32
#CAB64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB64F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB64F#FFFFFF#000000##000000
##CAB64F1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B244
Deuteranopia (green-blind)
#CCB954
Tritanopia (blue-blind)
#D9AAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab64f;
/* rgb */ color: rgb(202, 182, 79);
/* oklch */ color: oklch(77.3% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#ddcb84',
    500: '#cab64f',
    950: '#000000',
  },
}
SCSS
$custom: #cab64f;
$custom-light: #ddcb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cab64f",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 50.244,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77339,
    "c": 0.12484,
    "h": 98.4
  },
  "luminance": 0.46577
}

Semantic roles & 50–950 ramp

primary
#CAB64F
secondary
#A1A9D4
accent
#63DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB64F

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

Preview Lab → · Contrast checker → · Palette generator →

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