#CDE98A#CDE98A

#CDE98A is a very light, vivid yellow-green. Relative luminance 0.731; OKLCH L 89.2% C 0.124 H 122.4°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#CDE98A
RGBrgb(205, 233, 138)
HSLhsl(78, 68%, 73%)
HSVhsv(78, 41%, 91%)
CMYKcmyk(12%, 0%, 40.8%, 8.6%)
CIE-LABlab(88.49, -24.11, 43.10)
CIE-LCHlch(88.49, 49.38, 119.22°)
OKLaboklab(89.24% -0.0665 0.105)
OKLCHoklch(89.24% 0.124 122.4)
XYZxyz(58.9031, 73.0919, 35.0448)
Luminance0.7309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE98A #A68AE9
analogous
#E9D58A #CDE98A #9EE98A
triadic
#CDE98A #8ACDE9 #E98ACD
tetradic
#CDE98A #8AE9D5 #A68AE9 #E98A9E
square
#CDE98A #8AE9D5 #A68AE9 #E98A9E
split-complementary
#CDE98A #8A9EE9 #D58AE9
monochromatic
#9FD127 #B7DF56 #CDE98A #E3F3BE #F4FAE5

Accessibility & contrast

On white

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

On black

15.62
#CDE98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE98A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE98A#FFFFFF#000000##000000
##CDE98A1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF83
Deuteranopia (green-blind)
#F0DE8F
Tritanopia (blue-blind)
#D4E0D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cde98a;
/* rgb */ color: rgb(205, 233, 138);
/* oklch */ color: oklch(89.2% 0.124 122.4);
Tailwind
colors: {
  custom: {
    50: '#ddf0ad',
    500: '#cde98a',
    950: '#000000',
  },
}
SCSS
$custom: #cde98a;
$custom-light: #ddf0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cde98a",
  "rgb": {
    "r": 205,
    "g": 233,
    "b": 138
  },
  "hsl": {
    "h": 77.684,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89235,
    "c": 0.12434,
    "h": 122.4
  },
  "luminance": 0.73092
}

Semantic roles & 50–950 ramp

primary
#CDE98A
secondary
#7554C3
accent
#15D04C
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CDE98A

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

Preview Lab → · Contrast checker → · Palette generator →

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