#CBE96B#CBE96B

#CBE96B is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.7% C 0.156 H 120.8°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#CBE96B
RGBrgb(203, 233, 107)
HSLhsl(74, 74%, 67%)
HSVhsv(74, 54%, 91%)
CMYKcmyk(12.9%, 0%, 54.1%, 8.6%)
CIE-LABlab(87.99, -28.00, 57.08)
CIE-LCHlch(87.99, 63.58, 116.13°)
OKLaboklab(88.68% -0.0798 0.1338)
OKLCHoklch(88.68% 0.156 120.8)
XYZxyz(56.4219, 72.0360, 24.8390)
Luminance0.7204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE96B #896BE9
analogous
#E9C86B #CBE96B #8CE96B
triadic
#CBE96B #6BCBE9 #E96BCB
tetradic
#CBE96B #6BE9C8 #896BE9 #E96B8C
square
#CBE96B #6BE9C8 #896BE9 #E96B8C
split-complementary
#CBE96B #6B8CE9 #C86BE9
monochromatic
#97BD1C #B8E136 #CBE96B #DEF1A0 #F0F9D6

Accessibility & contrast

On white

1.36
#CBE96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#CBE96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE96B
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE96B#FFFFFF#000000##000000
##CBE96B1.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5E
Deuteranopia (green-blind)
#F2DD73
Tritanopia (blue-blind)
#D4DECD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cbe96b;
/* rgb */ color: rgb(203, 233, 107);
/* oklch */ color: oklch(88.7% 0.156 120.8);
Tailwind
colors: {
  custom: {
    50: '#ddf099',
    500: '#cbe96b',
    950: '#000000',
  },
}
SCSS
$custom: #cbe96b;
$custom-light: #ddf099;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe96b",
  "rgb": {
    "r": 203,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 74.286,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88675,
    "c": 0.15583,
    "h": 120.8
  },
  "luminance": 0.72036
}

Semantic roles & 50–950 ramp

primary
#CBE96B
secondary
#5A3CBC
accent
#0FD63F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CBE96B

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

Preview Lab → · Contrast checker → · Palette generator →

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