#CBE871#CBE871

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

Color values

HEX#CBE871
RGBrgb(203, 232, 113)
HSLhsl(75, 72%, 68%)
HSVhsv(75, 51%, 91%)
CMYKcmyk(12.5%, 0%, 51.3%, 9%)
CIE-LABlab(87.78, -26.99, 54.11)
CIE-LCHlch(87.78, 60.47, 116.51°)
OKLaboklab(88.53% -0.0765 0.1279)
OKLCHoklch(88.53% 0.149 120.9)
XYZxyz(56.4663, 71.6021, 26.4654)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE871 #8E71E8
analogous
#E8CA71 #CBE871 #8FE871
triadic
#CBE871 #71CBE8 #E871CB
tetradic
#CBE871 #71E8CA #8E71E8 #E8718F
square
#CBE871 #71E8CA #8E71E8 #E8718F
split-complementary
#CBE871 #718FE8 #CA71E8
monochromatic
#98C01F #B8DF3C #CBE871 #DEF1A6 #F2F9DA

Accessibility & contrast

On white

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

On black

15.32
#CBE871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE871
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE871#FFFFFF#000000##000000
##CBE8711.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#F1DC78
Tritanopia (blue-blind)
#D4DECD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cbe871;
/* rgb */ color: rgb(203, 232, 113);
/* oklch */ color: oklch(88.5% 0.149 120.9);
Tailwind
colors: {
  custom: {
    50: '#ddef9d',
    500: '#cbe871',
    950: '#000000',
  },
}
SCSS
$custom: #cbe871;
$custom-light: #ddef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe871",
  "rgb": {
    "r": 203,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 74.622,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88528,
    "c": 0.14903,
    "h": 120.9
  },
  "luminance": 0.71602
}

Semantic roles & 50–950 ramp

primary
#CBE871
secondary
#5E3FBF
accent
#11D441
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CBE871

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

Preview Lab → · Contrast checker → · Palette generator →

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