#CABB48#CABB48

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

Color values

HEX#CABB48
RGBrgb(202, 187, 72)
HSLhsl(53, 55%, 54%)
HSVhsv(53, 64%, 79%)
CMYKcmyk(0%, 7.4%, 64.4%, 20.8%)
CIE-LABlab(75.18, -8.30, 58.17)
CIE-LCHlch(75.18, 58.76, 98.12°)
OKLaboklab(78.32% -0.0277 0.1319)
OKLCHoklch(78.32% 0.135 101.9)
XYZxyz(43.2989, 48.5669, 13.2232)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB48 #4857CA
analogous
#CA7A48 #CABB48 #98CA48
triadic
#CABB48 #48CABB #BB48CA
tetradic
#CABB48 #48CA7A #4857CA #CA4898
square
#CABB48 #48CA7A #4857CA #CA4898
split-complementary
#CABB48 #4898CA #7A48CA
monochromatic
#766C22 #A59730 #CABB48 #D8CD77 #E5DEA7

Accessibility & contrast

On white

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

On black

10.71
#CABB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB48
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB48#FFFFFF#000000##000000
##CABB481.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#D9AEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb48;
/* rgb */ color: rgb(202, 187, 72);
/* oklch */ color: oklch(78.3% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#ddcf80',
    500: '#cabb48',
    950: '#000000',
  },
}
SCSS
$custom: #cabb48;
$custom-light: #ddcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb48",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 53.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7832,
    "c": 0.13479,
    "h": 101.9
  },
  "luminance": 0.48565
}

Semantic roles & 50–950 ramp

primary
#CABB48
secondary
#9BA2D3
accent
#5BDE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CABB48

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

Preview Lab → · Contrast checker → · Palette generator →

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