#CAB64E#CAB64E

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

Color values

HEX#CAB64E
RGBrgb(202, 182, 78)
HSLhsl(50, 54%, 55%)
HSVhsv(50, 61%, 79%)
CMYKcmyk(0%, 9.9%, 61.4%, 20.8%)
CIE-LABlab(73.91, -5.32, 54.17)
CIE-LCHlch(73.91, 54.44, 95.60°)
OKLaboklab(77.33% -0.0185 0.1243)
OKLCHoklch(77.33% 0.126 98.5)
XYZxyz(42.4620, 46.5644, 13.9574)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB64E #4E62CA
analogous
#CA784E #CAB64E #A0CA4E
triadic
#CAB64E #4ECAB6 #B64ECA
tetradic
#CAB64E #4ECA78 #4E62CA #CA4EA0
square
#CAB64E #4ECA78 #4E62CA #CA4EA0
split-complementary
#CAB64E #4EA0CA #784ECA
monochromatic
#796C24 #A89532 #CAB64E #D8C97D #E6DDAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB64E#FFFFFF#000000##000000
##CAB64E1.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)
#C6B243
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#D9AAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab64e;
/* rgb */ color: rgb(202, 182, 78);
/* oklch */ color: oklch(77.3% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#ddcb84',
    500: '#cab64e',
    950: '#000000',
  },
}
SCSS
$custom: #cab64e;
$custom-light: #ddcb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cab64e",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 50.323,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77329,
    "c": 0.12568,
    "h": 98.5
  },
  "luminance": 0.46563
}

Semantic roles & 50–950 ramp

primary
#CAB64E
secondary
#A0A8D4
accent
#62DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB64E

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

Preview Lab → · Contrast checker → · Palette generator →

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