#CBEC97#CBEC97

#CBEC97 is a very light, moderate yellow-green. Relative luminance 0.749; OKLCH L 90.0% C 0.115 H 125.9°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#CBEC97
RGBrgb(203, 236, 151)
HSLhsl(83, 69%, 76%)
HSVhsv(83, 36%, 93%)
CMYKcmyk(14%, 0%, 36%, 7.5%)
CIE-LABlab(89.36, -24.70, 37.74)
CIE-LCHlch(89.36, 45.11, 123.21°)
OKLaboklab(89.96% -0.0675 0.0933)
OKLCHoklch(89.96% 0.115 125.9)
XYZxyz(60.2094, 74.9214, 40.5614)
Luminance0.7492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBEC97 #B897EC
analogous
#ECE297 #CBEC97 #A0EC97
triadic
#CBEC97 #97CBEC #EC97CB
tetradic
#CBEC97 #97ECE2 #B897EC #EC97A0
square
#CBEC97 #97ECE2 #B897EC #EC97A0
split-complementary
#CBEC97 #97A0EC #E297EC
monochromatic
#97D930 #B1E363 #CBEC97 #E5F5CB #F2FAE5

Accessibility & contrast

On white

1.31
#CBEC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#CBEC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBEC97
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBEC97#FFFFFF#000000##000000
##CBEC971.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#F0E09B
Tritanopia (blue-blind)
#D0E4D7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cbec97;
/* rgb */ color: rgb(203, 236, 151);
/* oklch */ color: oklch(90.0% 0.115 125.9);
Tailwind
colors: {
  custom: {
    50: '#dcf2b6',
    500: '#cbec97',
    950: '#000000',
  },
}
SCSS
$custom: #cbec97;
$custom-light: #dcf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbec97",
  "rgb": {
    "r": 203,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 83.294,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.89955,
    "c": 0.11512,
    "h": 125.9
  },
  "luminance": 0.74922
}

Semantic roles & 50–950 ramp

primary
#CBEC97
secondary
#8860C8
accent
#14D15E
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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