#CABF4E#CABF4E

#CABF4E is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.134 H 103.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CABF4E
RGBrgb(202, 191, 78)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 61%, 79%)
CMYKcmyk(0%, 5.4%, 61.4%, 20.8%)
CIE-LABlab(76.30, -9.97, 56.78)
CIE-LCHlch(76.30, 57.65, 99.96°)
OKLaboklab(79.22% -0.0318 0.1299)
OKLCHoklch(79.22% 0.134 103.8)
XYZxyz(44.3647, 50.3698, 14.5917)
Luminance0.5037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF4E #4E59CA
analogous
#CA814E #CABF4E #97CA4E
triadic
#CABF4E #4ECABF #BF4ECA
tetradic
#CABF4E #4ECA81 #4E59CA #CA4E97
square
#CABF4E #4ECA81 #4E59CA #CA4E97
split-complementary
#CABF4E #4E97CA #814ECA
monochromatic
#797224 #A89E32 #CABF4E #D8D07D #E6E1AC

Accessibility & contrast

On white

1.90
#CABF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#CABF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF4E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF4E#FFFFFF#000000##000000
##CABF4E1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB941
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#D8B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf4e;
/* rgb */ color: rgb(202, 191, 78);
/* oklch */ color: oklch(79.2% 0.134 103.8);
Tailwind
colors: {
  custom: {
    50: '#ddd284',
    500: '#cabf4e',
    950: '#000000',
  },
}
SCSS
$custom: #cabf4e;
$custom-light: #ddd284;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf4e",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 54.677,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79222,
    "c": 0.13369,
    "h": 103.8
  },
  "luminance": 0.50368
}

Semantic roles & 50–950 ramp

primary
#CABF4E
secondary
#3B4182
accent
#58DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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