#CABE4C#CABE4C

#CABE4C is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.0% C 0.134 H 103.3°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CABE4C
RGBrgb(202, 190, 76)
HSLhsl(54, 54%, 55%)
HSVhsv(54, 62%, 79%)
CMYKcmyk(0%, 5.9%, 62.4%, 20.8%)
CIE-LABlab(76.01, -9.59, 57.34)
CIE-LCHlch(76.01, 58.14, 99.49°)
OKLaboklab(78.99% -0.0309 0.1308)
OKLCHoklch(78.99% 0.134 103.3)
XYZxyz(44.0767, 49.9069, 14.1473)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE4C #4C58CA
analogous
#CA7F4C #CABE4C #97CA4C
triadic
#CABE4C #4CCABE #BE4CCA
tetradic
#CABE4C #4CCA7F #4C58CA #CA4C97
square
#CABE4C #4CCA7F #4C58CA #CA4C97
split-complementary
#CABE4C #4C97CA #7F4CCA
monochromatic
#787024 #A79C32 #CABE4C #D8CF7B #E6E0AA

Accessibility & contrast

On white

1.91
#CABE4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CABE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE4C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE4C#FFFFFF#000000##000000
##CABE4C1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83F
Deuteranopia (green-blind)
#D2BE52
Tritanopia (blue-blind)
#D8B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabe4c;
/* rgb */ color: rgb(202, 190, 76);
/* oklch */ color: oklch(79.0% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#ddd183',
    500: '#cabe4c',
    950: '#000000',
  },
}
SCSS
$custom: #cabe4c;
$custom-light: #ddd183;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe4c",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 76
  },
  "hsl": {
    "h": 54.286,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78991,
    "c": 0.13437,
    "h": 103.3
  },
  "luminance": 0.49905
}

Semantic roles & 50–950 ramp

primary
#CABE4C
secondary
#9EA3D4
accent
#58DE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #CABE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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