#CBE271#CBE271

#CBE271 is a very light, vivid yellow-green. Relative luminance 0.683; OKLCH L 87.2% C 0.141 H 118.9°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#CBE271
RGBrgb(203, 226, 113)
HSLhsl(72, 66%, 66%)
HSVhsv(72, 50%, 89%)
CMYKcmyk(10.2%, 0%, 50%, 11.4%)
CIE-LABlab(86.15, -24.12, 52.18)
CIE-LCHlch(86.15, 57.48, 114.81°)
OKLaboklab(87.22% -0.0684 0.1237)
OKLCHoklch(87.22% 0.141 118.9)
XYZxyz(54.8061, 68.2818, 25.9120)
Luminance0.6828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE271 #8871E2
analogous
#E2C171 #CBE271 #93E271
triadic
#CBE271 #71CBE2 #E271CB
tetradic
#CBE271 #71E2C1 #8871E2 #E27193
square
#CBE271 #71E2C1 #8871E2 #E27193
split-complementary
#CBE271 #7193E2 #C171E2
monochromatic
#97B425 #B8D83E #CBE271 #DEECA4 #F0F7D7

Accessibility & contrast

On white

1.43
#CBE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#CBE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE271
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE271#FFFFFF#000000##000000
##CBE2711.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED767
Deuteranopia (green-blind)
#ECD877
Tritanopia (blue-blind)
#D5D8C8
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cbe271;
/* rgb */ color: rgb(203, 226, 113);
/* oklch */ color: oklch(87.2% 0.141 118.9);
Tailwind
colors: {
  custom: {
    50: '#ddeb9c',
    500: '#cbe271',
    950: '#000000',
  },
}
SCSS
$custom: #cbe271;
$custom-light: #ddeb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe271",
  "rgb": {
    "r": 203,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 72.212,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8722,
    "c": 0.14136,
    "h": 118.9
  },
  "luminance": 0.68281
}

Semantic roles & 50–950 ramp

primary
#CBE271
secondary
#5A42B5
accent
#18CE3D
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CBE271

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

Preview Lab → · Contrast checker → · Palette generator →

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