#CABC2E#CABC2E

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

Color values

HEX#CABC2E
RGBrgb(202, 188, 46)
HSLhsl(55, 63%, 49%)
HSVhsv(55, 77%, 79%)
CMYKcmyk(0%, 6.9%, 77.2%, 20.8%)
CIE-LABlab(75.28, -10.09, 67.95)
CIE-LCHlch(75.28, 68.70, 98.45°)
OKLaboklab(78.34% -0.0354 0.1481)
OKLCHoklch(78.34% 0.152 103.5)
XYZxyz(42.8354, 48.7221, 9.7322)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC2E #2E3CCA
analogous
#CA6E2E #CABC2E #8ACA2E
triadic
#CABC2E #2ECABC #BC2ECA
tetradic
#CABC2E #2ECA6E #2E3CCA #CA2E8A
square
#CABC2E #2ECA6E #2E3CCA #CA2E8A
split-complementary
#CABC2E #2E8ACA #6E2ECA
monochromatic
#665F17 #988E23 #CABC2E #DACE5B #E5DD8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABC2E#FFFFFF#000000##000000
##CABC2E1.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)
#CDB607
Deuteranopia (green-blind)
#D2BC39
Tritanopia (blue-blind)
#DAAEA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabc2e;
/* rgb */ color: rgb(202, 188, 46);
/* oklch */ color: oklch(78.3% 0.152 103.5);
Tailwind
colors: {
  custom: {
    50: '#decf73',
    500: '#cabc2e',
    950: '#000000',
  },
}
SCSS
$custom: #cabc2e;
$custom-light: #decf73;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc2e",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 54.615,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78343,
    "c": 0.15225,
    "h": 103.5
  },
  "luminance": 0.4872
}

Semantic roles & 50–950 ramp

primary
#CABC2E
secondary
#848BCF
accent
#51E642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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