#CBEC7C#CBEC7C

#CBEC7C is a very light, vivid yellow-green. Relative luminance 0.741; OKLCH L 89.5% C 0.144 H 122.8°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#CBEC7C
RGBrgb(203, 236, 124)
HSLhsl(78, 75%, 71%)
HSVhsv(78, 47%, 93%)
CMYKcmyk(14%, 0%, 47.5%, 7.5%)
CIE-LABlab(88.99, -27.81, 50.43)
CIE-LCHlch(88.99, 57.59, 118.87°)
OKLaboklab(89.54% -0.0779 0.1207)
OKLCHoklch(89.54% 0.144 122.8)
XYZxyz(58.2622, 74.1425, 30.3064)
Luminance0.7414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBEC7C #9D7CEC
analogous
#ECD57C #CBEC7C #93EC7C
triadic
#CBEC7C #7CCBEC #EC7CCB
tetradic
#CBEC7C #7CECD5 #9D7CEC #EC7C93
square
#CBEC7C #7CECD5 #9D7CEC #EC7C93
split-complementary
#CBEC7C #7C93EC #D57CEC
monochromatic
#9BD01E #B6E447 #CBEC7C #E0F4B1 #F4FBE4

Accessibility & contrast

On white

1.33
#CBEC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#CBEC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBEC7C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBEC7C#FFFFFF#000000##000000
##CBEC7C1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E072
Deuteranopia (green-blind)
#F3DF82
Tritanopia (blue-blind)
#D3E2D2
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cbec7c;
/* rgb */ color: rgb(203, 236, 124);
/* oklch */ color: oklch(89.5% 0.144 122.8);
Tailwind
colors: {
  custom: {
    50: '#dcf2a4',
    500: '#cbec7c',
    950: '#000000',
  },
}
SCSS
$custom: #cbec7c;
$custom-light: #dcf2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbec7c",
  "rgb": {
    "r": 203,
    "g": 236,
    "b": 124
  },
  "hsl": {
    "h": 77.679,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89542,
    "c": 0.14363,
    "h": 122.8
  },
  "luminance": 0.74143
}

Semantic roles & 50–950 ramp

primary
#CBEC7C
secondary
#6C47C5
accent
#0FD74A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CBEC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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