#CABC2D#CABC2D

#CABC2D is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.3% C 0.153 H 103.5°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CABC2D
RGBrgb(202, 188, 45)
HSLhsl(55, 64%, 48%)
HSVhsv(55, 78%, 79%)
CMYKcmyk(0%, 6.9%, 77.7%, 20.8%)
CIE-LABlab(75.27, -10.13, 68.26)
CIE-LCHlch(75.27, 69.01, 98.44°)
OKLaboklab(78.34% -0.0356 0.1485)
OKLCHoklch(78.34% 0.153 103.5)
XYZxyz(42.8160, 48.7143, 9.6296)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC2D #2D3BCA
analogous
#CA6D2D #CABC2D #89CA2D
triadic
#CABC2D #2DCABC #BC2DCA
tetradic
#CABC2D #2DCA6D #2D3BCA #CA2D89
square
#CABC2D #2DCA6D #2D3BCA #CA2D89
split-complementary
#CABC2D #2D89CA #6D2DCA
monochromatic
#665F17 #988D22 #CABC2D #DACF5A #E5DD8C

Accessibility & contrast

On white

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

On black

10.74
#CABC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC2D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC2D#FFFFFF#000000##000000
##CABC2D1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB604
Deuteranopia (green-blind)
#D2BC38
Tritanopia (blue-blind)
#DAAEA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabc2d;
/* rgb */ color: rgb(202, 188, 45);
/* oklch */ color: oklch(78.3% 0.153 103.5);
Tailwind
colors: {
  custom: {
    50: '#decf72',
    500: '#cabc2d',
    950: '#000000',
  },
}
SCSS
$custom: #cabc2d;
$custom-light: #decf72;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc2d",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 54.65,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78338,
    "c": 0.15275,
    "h": 103.5
  },
  "luminance": 0.48712
}

Semantic roles & 50–950 ramp

primary
#CABC2D
secondary
#838ACF
accent
#50E741
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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