#CBE786#CBE786

#CBE786 is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 88.6% C 0.127 H 122.2°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#CBE786
RGBrgb(203, 231, 134)
HSLhsl(77, 67%, 72%)
HSVhsv(77, 42%, 91%)
CMYKcmyk(12.1%, 0%, 42%, 9.4%)
CIE-LABlab(87.76, -24.35, 44.10)
CIE-LCHlch(87.76, 50.38, 118.90°)
OKLaboklab(88.6% -0.0674 0.1071)
OKLCHoklch(88.6% 0.127 122.2)
XYZxyz(57.5076, 71.5695, 33.3343)
Luminance0.7157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE786 #A286E7
analogous
#E7D386 #CBE786 #9BE786
triadic
#CBE786 #86CBE7 #E786CB
tetradic
#CBE786 #86E7D3 #A286E7 #E7869B
square
#CBE786 #86E7D3 #A286E7 #E7869B
split-complementary
#CBE786 #869BE7 #D386E7
monochromatic
#9CCA28 #B5DD53 #CBE786 #E1F1B9 #F4FAE5

Accessibility & contrast

On white

1.37
#CBE786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#CBE786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE786
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE786#FFFFFF#000000##000000
##CBE7861.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD7E
Deuteranopia (green-blind)
#EEDC8B
Tritanopia (blue-blind)
#D2DED0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cbe786;
/* rgb */ color: rgb(203, 231, 134);
/* oklch */ color: oklch(88.6% 0.127 122.2);
Tailwind
colors: {
  custom: {
    50: '#dceeab',
    500: '#cbe786',
    950: '#000000',
  },
}
SCSS
$custom: #cbe786;
$custom-light: #dceeab;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe786",
  "rgb": {
    "r": 203,
    "g": 231,
    "b": 134
  },
  "hsl": {
    "h": 77.32,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88598,
    "c": 0.12658,
    "h": 122.2
  },
  "luminance": 0.7157
}

Semantic roles & 50–950 ramp

primary
#CBE786
secondary
#7151C0
accent
#17CF4C
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CBE786

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

Preview Lab → · Contrast checker → · Palette generator →

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