#CABC34#CABC34

#CABC34 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.4% C 0.149 H 103.3°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CABC34
RGBrgb(202, 188, 52)
HSLhsl(54, 59%, 50%)
HSVhsv(54, 74%, 79%)
CMYKcmyk(0%, 6.9%, 74.3%, 20.8%)
CIE-LABlab(75.31, -9.85, 66.01)
CIE-LCHlch(75.31, 66.74, 98.49°)
OKLaboklab(78.38% -0.0342 0.1451)
OKLCHoklch(78.38% 0.149 103.3)
XYZxyz(42.9621, 48.7727, 10.3992)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC34 #3442CA
analogous
#CA7134 #CABC34 #8DCA34
triadic
#CABC34 #34CABC #BC34CA
tetradic
#CABC34 #34CA71 #3442CA #CA348D
square
#CABC34 #34CA71 #3442CA #CA348D
split-complementary
#CABC34 #348DCA #7134CA
monochromatic
#69611B #998F27 #CABC34 #D7CC64 #E4DC95

Accessibility & contrast

On white

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

On black

10.75
#CABC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC34
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC34#FFFFFF#000000##000000
##CABC341.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB619
Deuteranopia (green-blind)
#D2BC3E
Tritanopia (blue-blind)
#D9AFA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabc34;
/* rgb */ color: rgb(202, 188, 52);
/* oklch */ color: oklch(78.4% 0.149 103.3);
Tailwind
colors: {
  custom: {
    50: '#decf76',
    500: '#cabc34',
    950: '#000000',
  },
}
SCSS
$custom: #cabc34;
$custom-light: #decf76;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc34",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 54.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78379,
    "c": 0.14905,
    "h": 103.3
  },
  "luminance": 0.48771
}

Semantic roles & 50–950 ramp

primary
#CABC34
secondary
#8B91CF
accent
#54E246
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABC34

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

Preview Lab → · Contrast checker → · Palette generator →

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