#CBE87F#CBE87F

#CBE87F is a very light, vivid yellow-green. Relative luminance 0.719; OKLCH L 88.7% C 0.135 H 121.9°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#CBE87F
RGBrgb(203, 232, 127)
HSLhsl(77, 70%, 70%)
HSVhsv(77, 45%, 91%)
CMYKcmyk(12.5%, 0%, 45.3%, 9%)
CIE-LABlab(87.94, -25.60, 47.72)
CIE-LCHlch(87.94, 54.15, 118.21°)
OKLaboklab(88.71% -0.0714 0.1149)
OKLCHoklch(88.71% 0.135 121.9)
XYZxyz(57.3161, 71.9420, 30.9412)
Luminance0.7194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE87F #9C7FE8
analogous
#E8D07F #CBE87F #97E87F
triadic
#CBE87F #7FCBE8 #E87FCB
tetradic
#CBE87F #7FE8D0 #9C7FE8 #E87F97
square
#CBE87F #7FE8D0 #9C7FE8 #E87F97
split-complementary
#CBE87F #7F97E8 #D07FE8
monochromatic
#9BC924 #B6DF4B #CBE87F #E0F1B3 #F4FAE5

Accessibility & contrast

On white

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

On black

15.39
#CBE87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE87F
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE87F#FFFFFF#000000##000000
##CBE87F1.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD76
Deuteranopia (green-blind)
#EFDD85
Tritanopia (blue-blind)
#D3DFCF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cbe87f;
/* rgb */ color: rgb(203, 232, 127);
/* oklch */ color: oklch(88.7% 0.135 121.9);
Tailwind
colors: {
  custom: {
    50: '#dcefa6',
    500: '#cbe87f',
    950: '#000000',
  },
}
SCSS
$custom: #cbe87f;
$custom-light: #dcefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe87f",
  "rgb": {
    "r": 203,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 76.571,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88712,
    "c": 0.13526,
    "h": 121.9
  },
  "luminance": 0.71942
}

Semantic roles & 50–950 ramp

primary
#CBE87F
secondary
#6B4BC1
accent
#14D248
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CBE87F

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

Preview Lab → · Contrast checker → · Palette generator →

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