#CAB34E#CAB34E

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

Color values

HEX#CAB34E
RGBrgb(202, 179, 78)
HSLhsl(49, 54%, 55%)
HSVhsv(49, 61%, 79%)
CMYKcmyk(0%, 11.4%, 61.4%, 20.8%)
CIE-LABlab(73.12, -3.75, 53.30)
CIE-LCHlch(73.12, 53.44, 94.02°)
OKLaboklab(76.7% -0.014 0.1225)
OKLCHoklch(76.7% 0.123 96.5)
XYZxyz(41.8541, 45.3488, 13.7548)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB34E #4E65CA
analogous
#CA754E #CAB34E #A3CA4E
triadic
#CAB34E #4ECAB3 #B34ECA
tetradic
#CAB34E #4ECA75 #4E65CA #CA4EA3
square
#CAB34E #4ECA75 #4E65CA #CA4EA3
split-complementary
#CAB34E #4EA3CA #754ECA
monochromatic
#796A24 #A89332 #CAB34E #D8C77D #E6DBAC

Accessibility & contrast

On white

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

On black

10.07
#CAB34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB34E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB34E#FFFFFF#000000##000000
##CAB34E1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab34e;
/* rgb */ color: rgb(202, 179, 78);
/* oklch */ color: oklch(76.7% 0.123 96.5);
Tailwind
colors: {
  custom: {
    50: '#ddc983',
    500: '#cab34e',
    950: '#000000',
  },
}
SCSS
$custom: #cab34e;
$custom-light: #ddc983;
$custom-dark: #000000;
JSON
{
  "hex": "#cab34e",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 78
  },
  "hsl": {
    "h": 48.871,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76704,
    "c": 0.12325,
    "h": 96.5
  },
  "luminance": 0.45347
}

Semantic roles & 50–950 ramp

primary
#CAB34E
secondary
#A0A9D4
accent
#66DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB34E

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

Preview Lab → · Contrast checker → · Palette generator →

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