#CEFA97#CEFA97

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

Color values

HEX#CEFA97
RGBrgb(206, 250, 151)
HSLhsl(87, 91%, 79%)
HSVhsv(87, 40%, 98%)
CMYKcmyk(17.6%, 0%, 39.6%, 2%)
CIE-LABlab(93.33, -30.23, 42.92)
CIE-LCHlch(93.33, 52.50, 125.16°)
OKLaboklab(93.19% -0.0831 0.1052)
OKLCHoklch(93.19% 0.134 128.3)
XYZxyz(65.2244, 83.7265, 41.9967)
Luminance0.8373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFA97 #C397FA
analogous
#FAF597 #CEFA97 #9CFA97
triadic
#CEFA97 #97CEFA #FA97CE
tetradic
#CEFA97 #97FAF5 #C397FA #FA979C
square
#CEFA97 #97FAF5 #C397FA #FA979C
split-complementary
#CEFA97 #979CFA #F597FA
monochromatic
#97F422 #B2F75D #CEFA97 #EAFDD1 #F1FEE2

Accessibility & contrast

On white

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

On black

17.75
#CEFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEFA97
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEFA97#FFFFFF#000000##000000
##CEFA971.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE90
Deuteranopia (green-blind)
#FDEB9C
Tritanopia (blue-blind)
#D2F2E2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cefa97;
/* rgb */ color: rgb(206, 250, 151);
/* oklch */ color: oklch(93.2% 0.134 128.3);
Tailwind
colors: {
  custom: {
    50: '#defcb7',
    500: '#cefa97',
    950: '#000000',
  },
}
SCSS
$custom: #cefa97;
$custom-light: #defcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefa97",
  "rgb": {
    "r": 206,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 86.667,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93194,
    "c": 0.13404,
    "h": 128.3
  },
  "luminance": 0.83727
}

Semantic roles & 50–950 ramp

primary
#CEFA97
secondary
#945BDA
accent
#00E666
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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