#CBEC78#CBEC78

#CBEC78 is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.5% C 0.148 H 122.5°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#CBEC78
RGBrgb(203, 236, 120)
HSLhsl(77, 75%, 70%)
HSVhsv(77, 49%, 93%)
CMYKcmyk(14%, 0%, 49.2%, 7.5%)
CIE-LABlab(88.94, -28.21, 52.26)
CIE-LCHlch(88.94, 59.38, 118.36°)
OKLaboklab(89.49% -0.0793 0.1244)
OKLCHoklch(89.49% 0.148 122.5)
XYZxyz(58.0144, 74.0434, 29.0011)
Luminance0.7404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBEC78 #9978EC
analogous
#ECD378 #CBEC78 #91EC78
triadic
#CBEC78 #78CBEC #EC78CB
tetradic
#CBEC78 #78ECD3 #9978EC #EC7891
square
#CBEC78 #78ECD3 #9978EC #EC7891
split-complementary
#CBEC78 #7891EC #D378EC
monochromatic
#9BCD1D #B6E442 #CBEC78 #E0F4AE #F4FBE3

Accessibility & contrast

On white

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

On black

15.81
#CBEC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBEC78
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBEC78#FFFFFF#000000##000000
##CBEC781.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06E
Deuteranopia (green-blind)
#F3DF7F
Tritanopia (blue-blind)
#D3E2D1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cbec78;
/* rgb */ color: rgb(203, 236, 120);
/* oklch */ color: oklch(89.5% 0.148 122.5);
Tailwind
colors: {
  custom: {
    50: '#ddf2a1',
    500: '#cbec78',
    950: '#000000',
  },
}
SCSS
$custom: #cbec78;
$custom-light: #ddf2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbec78",
  "rgb": {
    "r": 203,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 77.069,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8949,
    "c": 0.14754,
    "h": 122.5
  },
  "luminance": 0.74043
}

Semantic roles & 50–950 ramp

primary
#CBEC78
secondary
#6843C5
accent
#0ED747
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CBEC78

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

Preview Lab → · Contrast checker → · Palette generator →

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