#CBE281#CBE281

#CBE281 is a very light, vivid yellow-green. Relative luminance 0.687; OKLCH L 87.4% C 0.125 H 120.0°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#CBE281
RGBrgb(203, 226, 129)
HSLhsl(74, 63%, 70%)
HSVhsv(74, 43%, 89%)
CMYKcmyk(10.2%, 0%, 42.9%, 11.4%)
CIE-LABlab(86.34, -22.50, 44.77)
CIE-LCHlch(86.34, 50.10, 116.68°)
OKLaboklab(87.44% -0.0625 0.1084)
OKLCHoklch(87.44% 0.125 120)
XYZxyz(55.7876, 68.6744, 31.0811)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE281 #9881E2
analogous
#E2C981 #CBE281 #9BE281
triadic
#CBE281 #81CBE2 #E281CB
tetradic
#CBE281 #81E2C9 #9881E2 #E2819B
square
#CBE281 #81E2C9 #9881E2 #E2819B
split-complementary
#CBE281 #819BE2 #C981E2
monochromatic
#9BBD2C #B6D74F #CBE281 #E0EDB3 #F4F9E4

Accessibility & contrast

On white

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

On black

14.73
#CBE281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE281
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE281#FFFFFF#000000##000000
##CBE2811.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD879
Deuteranopia (green-blind)
#EAD886
Tritanopia (blue-blind)
#D3D9CB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cbe281;
/* rgb */ color: rgb(203, 226, 129);
/* oklch */ color: oklch(87.4% 0.125 120.0);
Tailwind
colors: {
  custom: {
    50: '#dceba7',
    500: '#cbe281',
    950: '#000000',
  },
}
SCSS
$custom: #cbe281;
$custom-light: #dceba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe281",
  "rgb": {
    "r": 203,
    "g": 226,
    "b": 129
  },
  "hsl": {
    "h": 74.227,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8744,
    "c": 0.12511,
    "h": 120
  },
  "luminance": 0.68674
}

Semantic roles & 50–950 ramp

primary
#CBE281
secondary
#674EBA
accent
#1BCA45
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CBE281

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

Preview Lab → · Contrast checker → · Palette generator →

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