#CFE98A#CFE98A

#CFE98A is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.4% C 0.124 H 121.4°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#CFE98A
RGBrgb(207, 233, 138)
HSLhsl(76, 68%, 73%)
HSVhsv(76, 41%, 91%)
CMYKcmyk(11.2%, 0%, 40.8%, 8.6%)
CIE-LABlab(88.63, -23.36, 43.30)
CIE-LCHlch(88.63, 49.20, 118.35°)
OKLaboklab(89.38% -0.0645 0.1055)
OKLCHoklch(89.38% 0.124 121.4)
XYZxyz(59.4585, 73.3782, 35.0709)
Luminance0.7338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE98A #A48AE9
analogous
#E9D38A #CFE98A #9FE98A
triadic
#CFE98A #8ACFE9 #E98ACF
tetradic
#CFE98A #8AE9D3 #A48AE9 #E98A9F
square
#CFE98A #8AE9D3 #A48AE9 #E98A9F
split-complementary
#CFE98A #8A9FE9 #D38AE9
monochromatic
#A3D127 #BADF56 #CFE98A #E4F3BE #F4FAE5

Accessibility & contrast

On white

1.34
#CFE98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#CFE98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE98A
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE98A#FFFFFF#000000##000000
##CFE98A1.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF83
Deuteranopia (green-blind)
#F0DF8F
Tritanopia (blue-blind)
#D6E0D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfe98a;
/* rgb */ color: rgb(207, 233, 138);
/* oklch */ color: oklch(89.4% 0.124 121.4);
Tailwind
colors: {
  custom: {
    50: '#dff0ad',
    500: '#cfe98a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe98a;
$custom-light: #dff0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe98a",
  "rgb": {
    "r": 207,
    "g": 233,
    "b": 138
  },
  "hsl": {
    "h": 76.421,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89379,
    "c": 0.12364,
    "h": 121.4
  },
  "luminance": 0.73378
}

Semantic roles & 50–950 ramp

primary
#CFE98A
secondary
#7354C3
accent
#15D048
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFE98A

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

Preview Lab → · Contrast checker → · Palette generator →

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