#CABC42#CABC42

#CABC42 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.5% C 0.140 H 102.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CABC42
RGBrgb(202, 188, 66)
HSLhsl(54, 56%, 53%)
HSVhsv(54, 67%, 79%)
CMYKcmyk(0%, 6.9%, 67.3%, 20.8%)
CIE-LABlab(75.40, -9.16, 60.87)
CIE-LCHlch(75.40, 61.56, 98.56°)
OKLaboklab(78.48% -0.0308 0.1367)
OKLCHoklch(78.48% 0.14 102.7)
XYZxyz(43.3255, 48.9181, 12.3132)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC42 #4250CA
analogous
#CA7842 #CABC42 #94CA42
triadic
#CABC42 #42CABC #BC42CA
tetradic
#CABC42 #42CA78 #4250CA #CA4294
square
#CABC42 #42CA78 #4250CA #CA4294
split-complementary
#CABC42 #4294CA #7842CA
monochromatic
#726920 #A2962D #CABC42 #D7CD72 #E5DEA2

Accessibility & contrast

On white

1.95
#CABC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CABC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC42
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC42#FFFFFF#000000##000000
##CABC421.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#D1BD49
Tritanopia (blue-blind)
#D9AFA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabc42;
/* rgb */ color: rgb(202, 188, 66);
/* oklch */ color: oklch(78.5% 0.140 102.7);
Tailwind
colors: {
  custom: {
    50: '#ddcf7d',
    500: '#cabc42',
    950: '#000000',
  },
}
SCSS
$custom: #cabc42;
$custom-light: #ddcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc42",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 53.824,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7848,
    "c": 0.14011,
    "h": 102.7
  },
  "luminance": 0.48916
}

Semantic roles & 50–950 ramp

primary
#CABC42
secondary
#969CD1
accent
#58DF48
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABC42

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

Preview Lab → · Contrast checker → · Palette generator →

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