#CBEC98#CBEC98

#CBEC98 is a very light, moderate yellow-green. Relative luminance 0.750; OKLCH L 90.0% C 0.114 H 126.0°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#CBEC98
RGBrgb(203, 236, 152)
HSLhsl(84, 69%, 76%)
HSVhsv(84, 36%, 93%)
CMYKcmyk(14%, 0%, 35.6%, 7.5%)
CIE-LABlab(89.37, -24.58, 37.26)
CIE-LCHlch(89.37, 44.64, 123.41°)
OKLaboklab(89.97% -0.0671 0.0922)
OKLCHoklch(89.97% 0.114 126)
XYZxyz(60.2910, 74.9540, 40.9909)
Luminance0.7495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBEC98 #B998EC
analogous
#ECE398 #CBEC98 #A1EC98
triadic
#CBEC98 #98CBEC #EC98CB
tetradic
#CBEC98 #98ECE3 #B998EC #EC98A1
square
#CBEC98 #98ECE3 #B998EC #EC98A1
split-complementary
#CBEC98 #98A1EC #E398EC
monochromatic
#97D931 #B1E264 #CBEC98 #E5F6CC #F2FAE5

Accessibility & contrast

On white

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

On black

15.99
#CBEC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBEC98
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBEC98#FFFFFF#000000##000000
##CBEC981.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E292
Deuteranopia (green-blind)
#F0E09C
Tritanopia (blue-blind)
#D0E5D7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cbec98;
/* rgb */ color: rgb(203, 236, 152);
/* oklch */ color: oklch(90.0% 0.114 126.0);
Tailwind
colors: {
  custom: {
    50: '#dcf2b7',
    500: '#cbec98',
    950: '#000000',
  },
}
SCSS
$custom: #cbec98;
$custom-light: #dcf2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbec98",
  "rgb": {
    "r": 203,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 83.571,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.89973,
    "c": 0.114,
    "h": 126
  },
  "luminance": 0.74954
}

Semantic roles & 50–950 ramp

primary
#CBEC98
secondary
#8961C8
accent
#15D15F
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBEC98

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

Preview Lab → · Contrast checker → · Palette generator →

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