#CABC48#CABC48

#CABC48 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.5% C 0.136 H 102.4°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CABC48
RGBrgb(202, 188, 72)
HSLhsl(54, 55%, 54%)
HSVhsv(54, 64%, 79%)
CMYKcmyk(0%, 6.9%, 64.4%, 20.8%)
CIE-LABlab(75.45, -8.81, 58.45)
CIE-LCHlch(75.45, 59.11, 98.58°)
OKLaboklab(78.53% -0.0292 0.1325)
OKLCHoklch(78.53% 0.136 102.4)
XYZxyz(43.5118, 48.9926, 13.2942)
Luminance0.4899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC48 #4856CA
analogous
#CA7B48 #CABC48 #97CA48
triadic
#CABC48 #48CABC #BC48CA
tetradic
#CABC48 #48CA7B #4856CA #CA4897
square
#CABC48 #48CA7B #4856CA #CA4897
split-complementary
#CABC48 #4897CA #7B48CA
monochromatic
#766D22 #A59830 #CABC48 #D8CD77 #E5DFA7

Accessibility & contrast

On white

1.94
#CABC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#CABC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC48
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC48#FFFFFF#000000##000000
##CABC481.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63A
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#D9AFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabc48;
/* rgb */ color: rgb(202, 188, 72);
/* oklch */ color: oklch(78.5% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddcf80',
    500: '#cabc48',
    950: '#000000',
  },
}
SCSS
$custom: #cabc48;
$custom-light: #ddcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc48",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 53.538,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78531,
    "c": 0.13568,
    "h": 102.4
  },
  "luminance": 0.48991
}

Semantic roles & 50–950 ramp

primary
#CABC48
secondary
#9BA1D3
accent
#59DE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CABC48

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

Preview Lab → · Contrast checker → · Palette generator →

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