#CABB4C#CABB4C

#CABB4C is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.132 H 101.6°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CABB4C
RGBrgb(202, 187, 76)
HSLhsl(53, 54%, 55%)
HSVhsv(53, 62%, 79%)
CMYKcmyk(0%, 7.4%, 62.4%, 20.8%)
CIE-LABlab(75.21, -8.04, 56.48)
CIE-LCHlch(75.21, 57.05, 98.11°)
OKLaboklab(78.36% -0.0265 0.1289)
OKLCHoklch(78.36% 0.132 101.6)
XYZxyz(43.4336, 48.6208, 13.9330)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB4C #4C5BCA
analogous
#CA7C4C #CABB4C #9ACA4C
triadic
#CABB4C #4CCABB #BB4CCA
tetradic
#CABB4C #4CCA7C #4C5BCA #CA4C9A
square
#CABB4C #4CCA7C #4C5BCA #CA4C9A
split-complementary
#CABB4C #4C9ACA #7C4CCA
monochromatic
#786E24 #A79932 #CABB4C #D8CD7B #E6DFAA

Accessibility & contrast

On white

1.96
#CABB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CABB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB4C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB4C#FFFFFF#000000##000000
##CABB4C1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB63F
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#D9AFA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb4c;
/* rgb */ color: rgb(202, 187, 76);
/* oklch */ color: oklch(78.4% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#ddcf83',
    500: '#cabb4c',
    950: '#000000',
  },
}
SCSS
$custom: #cabb4c;
$custom-light: #ddcf83;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb4c",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 76
  },
  "hsl": {
    "h": 52.857,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78358,
    "c": 0.13163,
    "h": 101.6
  },
  "luminance": 0.48619
}

Semantic roles & 50–950 ramp

primary
#CABB4C
secondary
#9EA5D4
accent
#5CDE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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