#CABB4B#CABB4B

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

Color values

HEX#CABB4B
RGBrgb(202, 187, 75)
HSLhsl(53, 55%, 54%)
HSVhsv(53, 63%, 79%)
CMYKcmyk(0%, 7.4%, 62.9%, 20.8%)
CIE-LABlab(75.21, -8.11, 56.91)
CIE-LCHlch(75.21, 57.48, 98.11°)
OKLaboklab(78.35% -0.0268 0.1297)
OKLCHoklch(78.35% 0.132 101.7)
XYZxyz(43.3991, 48.6070, 13.7513)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB4B #4B5ACA
analogous
#CA7C4B #CABB4B #9ACA4B
triadic
#CABB4B #4BCABB #BB4BCA
tetradic
#CABB4B #4BCA7C #4B5ACA #CA4B9A
square
#CABB4B #4BCA7C #4B5ACA #CA4B9A
split-complementary
#CABB4B #4B9ACA #7C4BCA
monochromatic
#776D23 #A79931 #CABB4B #D8CD7A #E6DFAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABB4B#FFFFFF#000000##000000
##CABB4B1.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)
#CBB63E
Deuteranopia (green-blind)
#D0BC51
Tritanopia (blue-blind)
#D9AFA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb4b;
/* rgb */ color: rgb(202, 187, 75);
/* oklch */ color: oklch(78.3% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#ddcf82',
    500: '#cabb4b',
    950: '#000000',
  },
}
SCSS
$custom: #cabb4b;
$custom-light: #ddcf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb4b",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 75
  },
  "hsl": {
    "h": 52.913,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78348,
    "c": 0.13244,
    "h": 101.7
  },
  "luminance": 0.48605
}

Semantic roles & 50–950 ramp

primary
#CABB4B
secondary
#9DA4D3
accent
#5BDE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CABB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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