#CBE978#CBE978

#CBE978 is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.8% C 0.144 H 121.6°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#CBE978
RGBrgb(203, 233, 120)
HSLhsl(76, 72%, 69%)
HSVhsv(76, 48%, 91%)
CMYKcmyk(12.9%, 0%, 48.5%, 8.6%)
CIE-LABlab(88.13, -26.79, 51.27)
CIE-LCHlch(88.13, 57.85, 117.59°)
OKLaboklab(88.84% -0.0753 0.1223)
OKLCHoklch(88.84% 0.144 121.6)
XYZxyz(57.1579, 72.3304, 28.7156)
Luminance0.7233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE978 #9678E9
analogous
#E9CF78 #CBE978 #93E978
triadic
#CBE978 #78CBE9 #E978CB
tetradic
#CBE978 #78E9CF #9678E9 #E97893
square
#CBE978 #78E9CF #9678E9 #E97893
split-complementary
#CBE978 #7893E9 #CF78E9
monochromatic
#9AC620 #B7E043 #CBE978 #DFF2AD #F4FAE1

Accessibility & contrast

On white

1.36
#CBE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#CBE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE978
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE978#FFFFFF#000000##000000
##CBE9781.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6E
Deuteranopia (green-blind)
#F1DD7E
Tritanopia (blue-blind)
#D3DFCF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cbe978;
/* rgb */ color: rgb(203, 233, 120);
/* oklch */ color: oklch(88.8% 0.144 121.6);
Tailwind
colors: {
  custom: {
    50: '#ddf0a1',
    500: '#cbe978',
    950: '#000000',
  },
}
SCSS
$custom: #cbe978;
$custom-light: #ddf0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe978",
  "rgb": {
    "r": 203,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 75.929,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88835,
    "c": 0.1436,
    "h": 121.6
  },
  "luminance": 0.7233
}

Semantic roles & 50–950 ramp

primary
#CBE978
secondary
#6544C1
accent
#11D445
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CBE978

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

Preview Lab → · Contrast checker → · Palette generator →

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