#CABB4E#CABB4E

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

Color values

HEX#CABB4E
RGBrgb(202, 187, 78)
HSLhsl(53, 54%, 55%)
HSVhsv(53, 61%, 79%)
CMYKcmyk(0%, 7.4%, 61.4%, 20.8%)
CIE-LABlab(75.23, -7.91, 55.62)
CIE-LCHlch(75.23, 56.18, 98.10°)
OKLaboklab(78.38% -0.0259 0.1274)
OKLCHoklch(78.38% 0.13 101.5)
XYZxyz(43.5043, 48.6490, 14.3049)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB4E #4E5DCA
analogous
#CA7D4E #CABB4E #9BCA4E
triadic
#CABB4E #4ECABB #BB4ECA
tetradic
#CABB4E #4ECA7D #4E5DCA #CA4E9B
square
#CABB4E #4ECA7D #4E5DCA #CA4E9B
split-complementary
#CABB4E #4E9BCA #7D4ECA
monochromatic
#796F24 #A89A32 #CABB4E #D8CD7D #E6DFAC

Accessibility & contrast

On white

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

On black

10.73
#CABB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB4E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB4E#FFFFFF#000000##000000
##CABB4E1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB642
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#D8AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb4e;
/* rgb */ color: rgb(202, 187, 78);
/* oklch */ color: oklch(78.4% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#ddcf84',
    500: '#cabb4e',
    950: '#000000',
  },
}
SCSS
$custom: #cabb4e;
$custom-light: #ddcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb4e",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 52.742,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78378,
    "c": 0.13,
    "h": 101.5
  },
  "luminance": 0.48647
}

Semantic roles & 50–950 ramp

primary
#CABB4E
secondary
#A0A6D4
accent
#5CDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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