#CDE795#CDE795

#CDE795 is a very light, moderate yellow-green. Relative luminance 0.723; OKLCH L 89.0% C 0.109 H 122.9°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#CDE795
RGBrgb(205, 231, 149)
HSLhsl(79, 63%, 75%)
HSVhsv(79, 35%, 91%)
CMYKcmyk(11.3%, 0%, 35.5%, 9.4%)
CIE-LABlab(88.11, -21.82, 37.15)
CIE-LCHlch(88.11, 43.08, 120.42°)
OKLaboklab(88.99% -0.0595 0.0918)
OKLCHoklch(88.99% 0.109 122.9)
XYZxyz(59.1772, 72.3008, 39.2658)
Luminance0.7230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE795 #AF95E7
analogous
#E7D895 #CDE795 #A4E795
triadic
#CDE795 #95CDE7 #E795CD
tetradic
#CDE795 #95E7D8 #AF95E7 #E795A4
square
#CDE795 #95E7D8 #AF95E7 #E795A4
split-complementary
#CDE795 #95A4E7 #D895E7
monochromatic
#9ED031 #B5DC63 #CDE795 #E5F2C7 #F3F9E6

Accessibility & contrast

On white

1.36
#CDE795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#CDE795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE795
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE795#FFFFFF#000000##000000
##CDE7951.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE8F
Deuteranopia (green-blind)
#EDDD99
Tritanopia (blue-blind)
#D3DFD2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cde795;
/* rgb */ color: rgb(205, 231, 149);
/* oklch */ color: oklch(89.0% 0.109 122.9);
Tailwind
colors: {
  custom: {
    50: '#ddeeb5',
    500: '#cde795',
    950: '#000000',
  },
}
SCSS
$custom: #cde795;
$custom-light: #ddeeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cde795",
  "rgb": {
    "r": 205,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 79.024,
    "s": 63.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.88985,
    "c": 0.10939,
    "h": 122.9
  },
  "luminance": 0.72301
}

Semantic roles & 50–950 ramp

primary
#CDE795
secondary
#7E5FC1
accent
#1BCB53
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CDE795

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

Preview Lab → · Contrast checker → · Palette generator →

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