#CABC2C#CABC2C

#CABC2C 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#CABC2C
RGBrgb(202, 188, 44)
HSLhsl(55, 64%, 48%)
HSVhsv(55, 78%, 79%)
CMYKcmyk(0%, 6.9%, 78.2%, 20.8%)
CIE-LABlab(75.27, -10.17, 68.56)
CIE-LCHlch(75.27, 69.31, 98.43°)
OKLaboklab(78.33% -0.0358 0.149)
OKLCHoklch(78.33% 0.153 103.5)
XYZxyz(42.7969, 48.7067, 9.5294)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC2C #2C3ACA
analogous
#CA6D2C #CABC2C #89CA2C
triadic
#CABC2C #2CCABC #BC2CCA
tetradic
#CABC2C #2CCA6D #2C3ACA #CA2C89
square
#CABC2C #2CCA6D #2C3ACA #CA2C89
split-complementary
#CABC2C #2C89CA #6D2CCA
monochromatic
#655E16 #988D21 #CABC2C #DBCF58 #E6DE8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABC2C#FFFFFF#000000##000000
##CABC2C1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cabc2c;
/* rgb */ color: rgb(202, 188, 44);
/* oklch */ color: oklch(78.3% 0.153 103.5);
Tailwind
colors: {
  custom: {
    50: '#decf72',
    500: '#cabc2c',
    950: '#000000',
  },
}
SCSS
$custom: #cabc2c;
$custom-light: #decf72;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc2c",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 54.684,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78333,
    "c": 0.15324,
    "h": 103.5
  },
  "luminance": 0.48705
}

Semantic roles & 50–950 ramp

primary
#CABC2C
secondary
#8289D0
accent
#4FE741
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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