#CBE956#CBE956

#CBE956 is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 88.5% C 0.173 H 119.9°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#CBE956
RGBrgb(203, 233, 86)
HSLhsl(72, 77%, 63%)
HSVhsv(72, 63%, 91%)
CMYKcmyk(12.9%, 0%, 63.1%, 8.6%)
CIE-LABlab(87.80, -29.62, 65.82)
CIE-LCHlch(87.80, 72.18, 114.23°)
OKLaboklab(88.46% -0.0863 0.1501)
OKLCHoklch(88.46% 0.173 119.9)
XYZxyz(55.4481, 71.6464, 19.7104)
Luminance0.7165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE956 #7456E9
analogous
#E9BE56 #CBE956 #81E956
triadic
#CBE956 #56CBE9 #E956CB
tetradic
#CBE956 #56E9BE #7456E9 #E95681
square
#CBE956 #56E9BE #7456E9 #E95681
split-complementary
#CBE956 #5681E9 #BE56E9
monochromatic
#8FAE17 #BAE220 #CBE956 #DCF08C #ECF7C2

Accessibility & contrast

On white

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

On black

15.33
#CBE956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE956
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE956#FFFFFF#000000##000000
##CBE9561.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC43
Deuteranopia (green-blind)
#F3DD60
Tritanopia (blue-blind)
#D6DDCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cbe956;
/* rgb */ color: rgb(203, 233, 86);
/* oklch */ color: oklch(88.5% 0.173 119.9);
Tailwind
colors: {
  custom: {
    50: '#def08c',
    500: '#cbe956',
    950: '#000000',
  },
}
SCSS
$custom: #cbe956;
$custom-light: #def08c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe956",
  "rgb": {
    "r": 203,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 72.245,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88464,
    "c": 0.17312,
    "h": 119.9
  },
  "luminance": 0.71646
}

Semantic roles & 50–950 ramp

primary
#CBE956
secondary
#4D34AF
accent
#0CD936
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CBE956

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

Preview Lab → · Contrast checker → · Palette generator →

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