#CABF8A#CABF8A

#CABF8A is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.071 H 97.8°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CABF8A
RGBrgb(202, 191, 138)
HSLhsl(50, 38%, 67%)
HSVhsv(50, 32%, 79%)
CMYKcmyk(0%, 5.4%, 31.7%, 20.8%)
CIE-LABlab(77.07, -4.18, 28.19)
CIE-LCHlch(77.07, 28.50, 98.44°)
OKLaboklab(80.09% -0.0097 0.0705)
OKLCHoklch(80.09% 0.071 97.8)
XYZxyz(47.5759, 51.6543, 31.5039)
Luminance0.5165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF8A #8A95CA
analogous
#CA9F8A #CABF8A #B5CA8A
triadic
#CABF8A #8ACABF #BF8ACA
tetradic
#CABF8A #8ACA9F #8A95CA #CA8AB5
square
#CABF8A #8ACA9F #8A95CA #CA8AB5
split-complementary
#CABF8A #8AB5CA #9F8ACA
monochromatic
#968844 #B7A860 #CABF8A #DDD6B4 #F0EDDE

Accessibility & contrast

On white

1.85
#CABF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CABF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF8A
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF8A#FFFFFF#000000##000000
##CABF8A1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BC86
Deuteranopia (green-blind)
#CDC08C
Tritanopia (blue-blind)
#D4B7B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cabf8a;
/* rgb */ color: rgb(202, 191, 138);
/* oklch */ color: oklch(80.1% 0.071 97.8);
Tailwind
colors: {
  custom: {
    50: '#dbd2ac',
    500: '#cabf8a',
    950: '#000000',
  },
}
SCSS
$custom: #cabf8a;
$custom-light: #dbd2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf8a",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 138
  },
  "hsl": {
    "h": 49.688,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.80091,
    "c": 0.07115,
    "h": 97.8
  },
  "luminance": 0.51653
}

Semantic roles & 50–950 ramp

primary
#CABF8A
secondary
#5B679D
accent
#4AB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CABF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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