#CABE4A#CABE4A

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

Color values

HEX#CABE4A
RGBrgb(202, 190, 74)
HSLhsl(54, 55%, 54%)
HSVhsv(54, 63%, 79%)
CMYKcmyk(0%, 5.9%, 63.4%, 20.8%)
CIE-LABlab(76.00, -9.72, 58.18)
CIE-LCHlch(76.00, 58.99, 99.48°)
OKLaboklab(78.97% -0.0315 0.1323)
OKLCHoklch(78.97% 0.136 103.4)
XYZxyz(44.0083, 49.8796, 13.7868)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE4A #4A56CA
analogous
#CA7E4A #CABE4A #96CA4A
triadic
#CABE4A #4ACABE #BE4ACA
tetradic
#CABE4A #4ACA7E #4A56CA #CA4A96
square
#CABE4A #4ACA7E #4A56CA #CA4A96
split-complementary
#CABE4A #4A96CA #7E4ACA
monochromatic
#776F23 #A69B31 #CABE4A #D8CF79 #E6E0A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABE4A#FFFFFF#000000##000000
##CABE4A1.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)
#CEB83C
Deuteranopia (green-blind)
#D2BE51
Tritanopia (blue-blind)
#D8B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabe4a;
/* rgb */ color: rgb(202, 190, 74);
/* oklch */ color: oklch(79.0% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#ddd182',
    500: '#cabe4a',
    950: '#000000',
  },
}
SCSS
$custom: #cabe4a;
$custom-light: #ddd182;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe4a",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 74
  },
  "hsl": {
    "h": 54.375,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78972,
    "c": 0.13596,
    "h": 103.4
  },
  "luminance": 0.49878
}

Semantic roles & 50–950 ramp

primary
#CABE4A
secondary
#9DA2D3
accent
#58DE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15140B
muted
#84827C

Preview Lab

Preview with #CABE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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