#CEFA78#CEFA78

#CEFA78 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.165 H 125.0°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#CEFA78
RGBrgb(206, 250, 120)
HSLhsl(80, 93%, 73%)
HSVhsv(80, 52%, 98%)
CMYKcmyk(17.6%, 0%, 52%, 2%)
CIE-LABlab(92.95, -33.59, 57.07)
CIE-LCHlch(92.95, 66.22, 120.48°)
OKLaboklab(92.76% -0.0945 0.1349)
OKLCHoklch(92.76% 0.165 125)
XYZxyz(63.0294, 82.8486, 30.4364)
Luminance0.8285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFA78 #A478FA
analogous
#FAE578 #CEFA78 #8DFA78
triadic
#CEFA78 #78CEFA #FA78CE
tetradic
#CEFA78 #78FAE5 #A478FA #FA788D
square
#CEFA78 #78FAE5 #A478FA #FA788D
split-complementary
#CEFA78 #788DFA #E578FA
monochromatic
#A1EF09 #B9F83D #CEFA78 #E3FCB3 #F4FEE1

Accessibility & contrast

On white

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

On black

17.57
#CEFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFA78
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFA78#FFFFFF#000000##000000
##CEFA781.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cefa78;
/* rgb */ color: rgb(206, 250, 120);
/* oklch */ color: oklch(92.8% 0.165 125.0);
Tailwind
colors: {
  custom: {
    50: '#dffca2',
    500: '#cefa78',
    950: '#000000',
  },
}
SCSS
$custom: #cefa78;
$custom-light: #dffca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cefa78",
  "rgb": {
    "r": 206,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 80.308,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92761,
    "c": 0.16474,
    "h": 125
  },
  "luminance": 0.82849
}

Semantic roles & 50–950 ramp

primary
#CEFA78
secondary
#7340D6
accent
#00E64E
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CEFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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