#CBF978#CBF978

#CBF978 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.3% C 0.165 H 125.7°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#CBF978
RGBrgb(203, 249, 120)
HSLhsl(81, 91%, 72%)
HSVhsv(81, 52%, 98%)
CMYKcmyk(18.5%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.49, -34.24, 56.48)
CIE-LCHlch(92.49, 66.05, 121.22°)
OKLaboklab(92.34% -0.0962 0.1337)
OKLCHoklch(92.34% 0.165 125.7)
XYZxyz(61.8944, 81.8033, 30.2944)
Luminance0.8180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF978 #A678F9
analogous
#F9E678 #CBF978 #8BF978
triadic
#CBF978 #78CBF9 #F978CB
tetradic
#CBF978 #78F9E6 #A678F9 #F9788B
square
#CBF978 #78F9E6 #A678F9 #F9788B
split-complementary
#CBF978 #788BF9 #E678F9
monochromatic
#9CEC0A #B4F63D #CBF978 #E2FCB3 #F4FEE2

Accessibility & contrast

On white

1.21
#CBF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#CBF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF978
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF978#FFFFFF#000000##000000
##CBF9781.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#D2EFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf978;
/* rgb */ color: rgb(203, 249, 120);
/* oklch */ color: oklch(92.3% 0.165 125.7);
Tailwind
colors: {
  custom: {
    50: '#ddfba2',
    500: '#cbf978',
    950: '#000000',
  },
}
SCSS
$custom: #cbf978;
$custom-light: #ddfba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf978",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 81.395,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92342,
    "c": 0.16468,
    "h": 125.7
  },
  "luminance": 0.81804
}

Semantic roles & 50–950 ramp

primary
#CBF978
secondary
#7540D5
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF978

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

Preview Lab → · Contrast checker → · Palette generator →

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