#CEFA98#CEFA98

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

Color values

HEX#CEFA98
RGBrgb(206, 250, 152)
HSLhsl(87, 91%, 79%)
HSVhsv(87, 39%, 98%)
CMYKcmyk(17.6%, 0%, 39.2%, 2%)
CIE-LABlab(93.35, -30.11, 42.45)
CIE-LCHlch(93.35, 52.04, 125.35°)
OKLaboklab(93.21% -0.0827 0.1042)
OKLCHoklch(93.21% 0.133 128.4)
XYZxyz(65.3059, 83.7592, 42.4262)
Luminance0.8376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEFA98 #C498FA
analogous
#FAF598 #CEFA98 #9DFA98
triadic
#CEFA98 #98CEFA #FA98CE
tetradic
#CEFA98 #98FAF5 #C498FA #FA989D
square
#CEFA98 #98FAF5 #C498FA #FA989D
split-complementary
#CEFA98 #989DFA #F598FA
monochromatic
#96F423 #B2F75E #CEFA98 #EAFDD2 #F1FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEFA98#FFFFFF#000000##000000
##CEFA981.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)
#FFEE91
Deuteranopia (green-blind)
#FDEB9D
Tritanopia (blue-blind)
#D2F2E2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cefa98;
/* rgb */ color: rgb(206, 250, 152);
/* oklch */ color: oklch(93.2% 0.133 128.4);
Tailwind
colors: {
  custom: {
    50: '#defcb7',
    500: '#cefa98',
    950: '#000000',
  },
}
SCSS
$custom: #cefa98;
$custom-light: #defcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cefa98",
  "rgb": {
    "r": 206,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 86.939,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.9321,
    "c": 0.13298,
    "h": 128.4
  },
  "luminance": 0.8376
}

Semantic roles & 50–950 ramp

primary
#CEFA98
secondary
#955CDB
accent
#00E667
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CEFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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