#CEFA96#CEFA96

#CEFA96 is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.2% C 0.135 H 128.2°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#CEFA96
RGBrgb(206, 250, 150)
HSLhsl(86, 91%, 78%)
HSVhsv(86, 40%, 98%)
CMYKcmyk(17.6%, 0%, 40%, 2%)
CIE-LABlab(93.32, -30.36, 43.39)
CIE-LCHlch(93.32, 52.95, 124.98°)
OKLaboklab(93.18% -0.0834 0.1062)
OKLCHoklch(93.18% 0.135 128.2)
XYZxyz(65.1435, 83.6942, 41.5708)
Luminance0.8369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFA96 #C296FA
analogous
#FAF496 #CEFA96 #9CFA96
triadic
#CEFA96 #96CEFA #FA96CE
tetradic
#CEFA96 #96FAF4 #C296FA #FA969C
square
#CEFA96 #96FAF4 #C296FA #FA969C
split-complementary
#CEFA96 #969CFA #F496FA
monochromatic
#97F421 #B3F75C #CEFA96 #E9FDD0 #F1FEE2

Accessibility & contrast

On white

1.18
#CEFA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#CEFA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFA96
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFA96#FFFFFF#000000##000000
##CEFA961.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8E
Deuteranopia (green-blind)
#FDEB9B
Tritanopia (blue-blind)
#D2F2E1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cefa96;
/* rgb */ color: rgb(206, 250, 150);
/* oklch */ color: oklch(93.2% 0.135 128.2);
Tailwind
colors: {
  custom: {
    50: '#defcb6',
    500: '#cefa96',
    950: '#000000',
  },
}
SCSS
$custom: #cefa96;
$custom-light: #defcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cefa96",
  "rgb": {
    "r": 206,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 86.4,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93178,
    "c": 0.13509,
    "h": 128.2
  },
  "luminance": 0.83695
}

Semantic roles & 50–950 ramp

primary
#CEFA96
secondary
#925ADA
accent
#00E665
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEFA96

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

Preview Lab → · Contrast checker → · Palette generator →

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