#CBE959#CBE959

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

Color values

HEX#CBE959
RGBrgb(203, 233, 89)
HSLhsl(73, 77%, 63%)
HSVhsv(73, 62%, 91%)
CMYKcmyk(12.9%, 0%, 61.8%, 8.6%)
CIE-LABlab(87.82, -29.41, 64.64)
CIE-LCHlch(87.82, 71.01, 114.47°)
OKLaboklab(88.49% -0.0855 0.1479)
OKLCHoklch(88.49% 0.171 120)
XYZxyz(55.5715, 71.6958, 20.3604)
Luminance0.7170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE959 #7759E9
analogous
#E9BF59 #CBE959 #83E959
triadic
#CBE959 #59CBE9 #E959CB
tetradic
#CBE959 #59E9BF #7759E9 #E95983
square
#CBE959 #59E9BF #7759E9 #E95983
split-complementary
#CBE959 #5983E9 #BF59E9
monochromatic
#90B017 #BAE223 #CBE959 #DCF08F #EDF7C5

Accessibility & contrast

On white

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

On black

15.34
#CBE959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE959
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE959#FFFFFF#000000##000000
##CBE9591.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbe959;
/* rgb */ color: rgb(203, 233, 89);
/* oklch */ color: oklch(88.5% 0.171 120.0);
Tailwind
colors: {
  custom: {
    50: '#def08e',
    500: '#cbe959',
    950: '#000000',
  },
}
SCSS
$custom: #cbe959;
$custom-light: #def08e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe959",
  "rgb": {
    "r": 203,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 72.5,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.88491,
    "c": 0.17085,
    "h": 120
  },
  "luminance": 0.71696
}

Semantic roles & 50–950 ramp

primary
#CBE959
secondary
#4F35B1
accent
#0DD937
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CBE959

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

Preview Lab → · Contrast checker → · Palette generator →

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