#CAB34C#CAB34C

#CAB34C is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.125 H 96.7°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CAB34C
RGBrgb(202, 179, 76)
HSLhsl(49, 54%, 55%)
HSVhsv(49, 62%, 79%)
CMYKcmyk(0%, 11.4%, 62.4%, 20.8%)
CIE-LABlab(73.10, -3.88, 54.19)
CIE-LCHlch(73.10, 54.32, 94.10°)
OKLaboklab(76.68% -0.0146 0.1241)
OKLCHoklch(76.68% 0.125 96.7)
XYZxyz(41.7835, 45.3205, 13.3829)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB34C #4C63CA
analogous
#CA744C #CAB34C #A2CA4C
triadic
#CAB34C #4CCAB3 #B34CCA
tetradic
#CAB34C #4CCA74 #4C63CA #CA4CA2
square
#CAB34C #4CCA74 #4C63CA #CA4CA2
split-complementary
#CAB34C #4CA2CA #744CCA
monochromatic
#786924 #A79232 #CAB34C #D8C77B #E6DBAA

Accessibility & contrast

On white

2.09
#CAB34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CAB34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB34C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB34C#FFFFFF#000000##000000
##CAB34C1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF40
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#D9A79D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab34c;
/* rgb */ color: rgb(202, 179, 76);
/* oklch */ color: oklch(76.7% 0.125 96.7);
Tailwind
colors: {
  custom: {
    50: '#ddc982',
    500: '#cab34c',
    950: '#000000',
  },
}
SCSS
$custom: #cab34c;
$custom-light: #ddc982;
$custom-dark: #000000;
JSON
{
  "hex": "#cab34c",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 76
  },
  "hsl": {
    "h": 49.048,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76683,
    "c": 0.12491,
    "h": 96.7
  },
  "luminance": 0.45319
}

Semantic roles & 50–950 ramp

primary
#CAB34C
secondary
#9EA8D4
accent
#65DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB34C

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

Preview Lab → · Contrast checker → · Palette generator →

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