#CBEB5B#CBEB5B

#CBEB5B is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 88.9% C 0.172 H 120.6°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#CBEB5B
RGBrgb(203, 235, 91)
HSLhsl(73, 78%, 64%)
HSVhsv(73, 61%, 92%)
CMYKcmyk(13.6%, 0%, 61.3%, 7.8%)
CIE-LABlab(88.39, -30.21, 64.42)
CIE-LCHlch(88.39, 71.15, 115.12°)
OKLaboklab(88.95% -0.0875 0.1477)
OKLCHoklch(88.95% 0.172 120.6)
XYZxyz(56.2260, 72.8686, 20.9985)
Luminance0.7287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBEB5B #7B5BEB
analogous
#EBC35B #CBEB5B #83EB5B
triadic
#CBEB5B #5BCBEB #EB5BCB
tetradic
#CBEB5B #5BEBC3 #7B5BEB #EB5B83
square
#CBEB5B #5BEBC3 #7B5BEB #EB5B83
split-complementary
#CBEB5B #5B83EB #C35BEB
monochromatic
#92B516 #BAE424 #CBEB5B #DCF292 #EEF8C8

Accessibility & contrast

On white

1.35
#CBEB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#CBEB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBEB5B
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBEB5B#FFFFFF#000000##000000
##CBEB5B1.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE4A
Deuteranopia (green-blind)
#F5DE65
Tritanopia (blue-blind)
#D5E0CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cbeb5b;
/* rgb */ color: rgb(203, 235, 91);
/* oklch */ color: oklch(88.9% 0.172 120.6);
Tailwind
colors: {
  custom: {
    50: '#def18f',
    500: '#cbeb5b',
    950: '#000000',
  },
}
SCSS
$custom: #cbeb5b;
$custom-light: #def18f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbeb5b",
  "rgb": {
    "r": 203,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 73.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88949,
    "c": 0.1717,
    "h": 120.6
  },
  "luminance": 0.72869
}

Semantic roles & 50–950 ramp

primary
#CBEB5B
secondary
#5135B5
accent
#0BDB39
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CBEB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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