#CABE4F#CABE4F

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

Color values

HEX#CABE4F
RGBrgb(202, 190, 79)
HSLhsl(54, 54%, 55%)
HSVhsv(54, 61%, 79%)
CMYKcmyk(0%, 5.9%, 60.9%, 20.8%)
CIE-LABlab(76.04, -9.39, 56.06)
CIE-LCHlch(76.04, 56.85, 99.51°)
OKLaboklab(79.02% -0.03 0.1285)
OKLCHoklch(79.02% 0.132 103.2)
XYZxyz(44.1835, 49.9496, 14.7095)
Luminance0.4995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE4F #4F5BCA
analogous
#CA804F #CABE4F #99CA4F
triadic
#CABE4F #4FCABE #BE4FCA
tetradic
#CABE4F #4FCA80 #4F5BCA #CA4F99
square
#CABE4F #4FCA80 #4F5BCA #CA4F99
split-complementary
#CABE4F #4F99CA #804FCA
monochromatic
#7A7225 #A99D33 #CABE4F #D8CF7E #E6E1AD

Accessibility & contrast

On white

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

On black

10.99
#CABE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE4F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE4F#FFFFFF#000000##000000
##CABE4F1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cabe4f;
/* rgb */ color: rgb(202, 190, 79);
/* oklch */ color: oklch(79.0% 0.132 103.2);
Tailwind
colors: {
  custom: {
    50: '#ddd185',
    500: '#cabe4f',
    950: '#000000',
  },
}
SCSS
$custom: #cabe4f;
$custom-light: #ddd185;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe4f",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 54.146,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79021,
    "c": 0.13192,
    "h": 103.2
  },
  "luminance": 0.49948
}

Semantic roles & 50–950 ramp

primary
#CABE4F
secondary
#A1A6D4
accent
#59DD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #CABE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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