#CABE8A#CABE8A

#CABE8A is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.9% C 0.070 H 96.7°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CABE8A
RGBrgb(202, 190, 138)
HSLhsl(49, 38%, 67%)
HSVhsv(49, 32%, 79%)
CMYKcmyk(0%, 5.9%, 31.7%, 20.8%)
CIE-LABlab(76.81, -3.66, 27.84)
CIE-LCHlch(76.81, 28.08, 97.49°)
OKLaboklab(79.88% -0.0082 0.0697)
OKLCHoklch(79.88% 0.07 96.7)
XYZxyz(47.3585, 51.2197, 31.4315)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE8A #8A96CA
analogous
#CA9E8A #CABE8A #B6CA8A
triadic
#CABE8A #8ACABE #BE8ACA
tetradic
#CABE8A #8ACA9E #8A96CA #CA8AB6
square
#CABE8A #8ACA9E #8A96CA #CA8AB6
split-complementary
#CABE8A #8AB6CA #9E8ACA
monochromatic
#968644 #B7A760 #CABE8A #DDD5B4 #F0EDDE

Accessibility & contrast

On white

1.87
#CABE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#CABE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE8A
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE8A#FFFFFF#000000##000000
##CABE8A1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BB86
Deuteranopia (green-blind)
#CCBF8C
Tritanopia (blue-blind)
#D4B6B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cabe8a;
/* rgb */ color: rgb(202, 190, 138);
/* oklch */ color: oklch(79.9% 0.070 96.7);
Tailwind
colors: {
  custom: {
    50: '#dbd1ac',
    500: '#cabe8a',
    950: '#000000',
  },
}
SCSS
$custom: #cabe8a;
$custom-light: #dbd1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe8a",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 138
  },
  "hsl": {
    "h": 48.75,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.79885,
    "c": 0.07014,
    "h": 96.7
  },
  "luminance": 0.51218
}

Semantic roles & 50–950 ramp

primary
#CABE8A
secondary
#5B689D
accent
#4CB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CABE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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