#CBE957#CBE957

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

Color values

HEX#CBE957
RGBrgb(203, 233, 87)
HSLhsl(72, 77%, 63%)
HSVhsv(72, 63%, 91%)
CMYKcmyk(12.9%, 0%, 62.7%, 8.6%)
CIE-LABlab(87.81, -29.55, 65.43)
CIE-LCHlch(87.81, 71.80, 114.31°)
OKLaboklab(88.47% -0.0861 0.1494)
OKLCHoklch(88.47% 0.172 120)
XYZxyz(55.4886, 71.6627, 19.9241)
Luminance0.7166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE957 #7557E9
analogous
#E9BE57 #CBE957 #82E957
triadic
#CBE957 #57CBE9 #E957CB
tetradic
#CBE957 #57E9BE #7557E9 #E95782
square
#CBE957 #57E9BE #7557E9 #E95782
split-complementary
#CBE957 #5782E9 #BE57E9
monochromatic
#90AF17 #BAE221 #CBE957 #DCF08D #ECF7C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBE957#FFFFFF#000000##000000
##CBE9571.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)
#F7DC45
Deuteranopia (green-blind)
#F3DD61
Tritanopia (blue-blind)
#D6DDCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cbe957;
/* rgb */ color: rgb(203, 233, 87);
/* oklch */ color: oklch(88.5% 0.172 120.0);
Tailwind
colors: {
  custom: {
    50: '#def08d',
    500: '#cbe957',
    950: '#000000',
  },
}
SCSS
$custom: #cbe957;
$custom-light: #def08d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe957",
  "rgb": {
    "r": 203,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 72.329,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88473,
    "c": 0.17237,
    "h": 120
  },
  "luminance": 0.71662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBE957

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

Preview Lab → · Contrast checker → · Palette generator →

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