#CBFA78#CBFA78

#CBFA78 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.6% C 0.166 H 126.0°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#CBFA78
RGBrgb(203, 250, 120)
HSLhsl(82, 93%, 73%)
HSVhsv(82, 52%, 98%)
CMYKcmyk(18.8%, 0%, 52%, 2%)
CIE-LABlab(92.76, -34.69, 56.80)
CIE-LCHlch(92.76, 66.56, 121.41°)
OKLaboklab(92.56% -0.0975 0.1344)
OKLCHoklch(92.56% 0.166 126)
XYZxyz(62.2043, 82.4231, 30.3977)
Luminance0.8242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBFA78 #A778FA
analogous
#FAE878 #CBFA78 #8AFA78
triadic
#CBFA78 #78CBFA #FA78CB
tetradic
#CBFA78 #78FAE8 #A778FA #FA788A
square
#CBFA78 #78FAE8 #A778FA #FA788A
split-complementary
#CBFA78 #788AFA #E878FA
monochromatic
#9CEF09 #B4F83D #CBFA78 #E2FCB3 #F4FEE1

Accessibility & contrast

On white

1.20
#CBFA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#CBFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBFA78
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBFA78#FFFFFF#000000##000000
##CBFA781.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#D2F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cbfa78;
/* rgb */ color: rgb(203, 250, 120);
/* oklch */ color: oklch(92.6% 0.166 126.0);
Tailwind
colors: {
  custom: {
    50: '#ddfca2',
    500: '#cbfa78',
    950: '#000000',
  },
}
SCSS
$custom: #cbfa78;
$custom-light: #ddfca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbfa78",
  "rgb": {
    "r": 203,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 81.692,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92562,
    "c": 0.16599,
    "h": 126
  },
  "luminance": 0.82424
}

Semantic roles & 50–950 ramp

primary
#CBFA78
secondary
#7640D6
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CBFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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