#CAB34B#CAB34B

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

Color values

HEX#CAB34B
RGBrgb(202, 179, 75)
HSLhsl(49, 55%, 54%)
HSVhsv(49, 63%, 79%)
CMYKcmyk(0%, 11.4%, 62.9%, 20.8%)
CIE-LABlab(73.09, -3.95, 54.62)
CIE-LCHlch(73.09, 54.76, 94.13°)
OKLaboklab(76.67% -0.0149 0.1248)
OKLCHoklch(76.67% 0.126 96.8)
XYZxyz(41.7490, 45.3067, 13.2013)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB34B #4B62CA
analogous
#CA744B #CAB34B #A2CA4B
triadic
#CAB34B #4BCAB3 #B34BCA
tetradic
#CAB34B #4BCA74 #4B62CA #CA4BA2
square
#CAB34B #4BCA74 #4B62CA #CA4BA2
split-complementary
#CAB34B #4BA2CA #744BCA
monochromatic
#776823 #A79131 #CAB34B #D8C77A #E6DBAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB34B#FFFFFF#000000##000000
##CAB34B1.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)
#C4AF3F
Deuteranopia (green-blind)
#CAB750
Tritanopia (blue-blind)
#D9A69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab34b;
/* rgb */ color: rgb(202, 179, 75);
/* oklch */ color: oklch(76.7% 0.126 96.8);
Tailwind
colors: {
  custom: {
    50: '#ddc982',
    500: '#cab34b',
    950: '#000000',
  },
}
SCSS
$custom: #cab34b;
$custom-light: #ddc982;
$custom-dark: #000000;
JSON
{
  "hex": "#cab34b",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 49.134,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76673,
    "c": 0.12573,
    "h": 96.8
  },
  "luminance": 0.45305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB34B

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

Preview Lab → · Contrast checker → · Palette generator →

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