#CBE97E#CBE97E

#CBE97E is a very light, vivid yellow-green. Relative luminance 0.725; OKLCH L 88.9% C 0.138 H 122.1°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#CBE97E
RGBrgb(203, 233, 126)
HSLhsl(77, 71%, 70%)
HSVhsv(77, 46%, 91%)
CMYKcmyk(12.9%, 0%, 45.9%, 8.6%)
CIE-LABlab(88.20, -26.18, 48.52)
CIE-LCHlch(88.20, 55.13, 118.35°)
OKLaboklab(88.92% -0.0731 0.1166)
OKLCHoklch(88.92% 0.138 122.1)
XYZxyz(57.5335, 72.4806, 30.6938)
Luminance0.7248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE97E #9C7EE9
analogous
#E9D17E #CBE97E #96E97E
triadic
#CBE97E #7ECBE9 #E97ECB
tetradic
#CBE97E #7EE9D1 #9C7EE9 #E97E96
square
#CBE97E #7EE9D1 #9C7EE9 #E97E96
split-complementary
#CBE97E #7E96E9 #D17EE9
monochromatic
#9BCA22 #B6E04A #CBE97E #E0F2B2 #F4FBE5

Accessibility & contrast

On white

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

On black

15.50
#CBE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE97E
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE97E#FFFFFF#000000##000000
##CBE97E1.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE75
Deuteranopia (green-blind)
#F0DD84
Tritanopia (blue-blind)
#D3E0D0
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cbe97e;
/* rgb */ color: rgb(203, 233, 126);
/* oklch */ color: oklch(88.9% 0.138 122.1);
Tailwind
colors: {
  custom: {
    50: '#dcf0a5',
    500: '#cbe97e',
    950: '#000000',
  },
}
SCSS
$custom: #cbe97e;
$custom-light: #dcf0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe97e",
  "rgb": {
    "r": 203,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 76.822,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88916,
    "c": 0.13761,
    "h": 122.1
  },
  "luminance": 0.72481
}

Semantic roles & 50–950 ramp

primary
#CBE97E
secondary
#6B49C2
accent
#13D349
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CBE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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