#CDEB5F#CDEB5F

#CDEB5F is a very light, vivid yellow-green. Relative luminance 0.732; OKLCH L 89.1% C 0.168 H 120.1°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#CDEB5F
RGBrgb(205, 235, 95)
HSLhsl(73, 78%, 65%)
HSVhsv(73, 60%, 92%)
CMYKcmyk(12.8%, 0%, 59.6%, 7.8%)
CIE-LABlab(88.55, -29.13, 62.98)
CIE-LCHlch(88.55, 69.39, 114.82°)
OKLaboklab(89.13% -0.0842 0.1451)
OKLCHoklch(89.13% 0.168 120.1)
XYZxyz(56.9515, 73.2222, 21.9573)
Luminance0.7322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEB5F #7D5FEB
analogous
#EBC35F #CDEB5F #87EB5F
triadic
#CDEB5F #5FCDEB #EB5FCD
tetradic
#CDEB5F #5FEBC3 #7D5FEB #EB5F87
square
#CDEB5F #5FEBC3 #7D5FEB #EB5F87
split-complementary
#CDEB5F #5F87EB #C35FEB
monochromatic
#96B917 #BCE429 #CDEB5F #DEF295 #EFF9CC

Accessibility & contrast

On white

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

On black

15.64
#CDEB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEB5F
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEB5F#FFFFFF#000000##000000
##CDEB5F1.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4F
Deuteranopia (green-blind)
#F5DF68
Tritanopia (blue-blind)
#D7E0CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cdeb5f;
/* rgb */ color: rgb(205, 235, 95);
/* oklch */ color: oklch(89.1% 0.168 120.1);
Tailwind
colors: {
  custom: {
    50: '#dff192',
    500: '#cdeb5f',
    950: '#000000',
  },
}
SCSS
$custom: #cdeb5f;
$custom-light: #dff192;
$custom-dark: #000000;
JSON
{
  "hex": "#cdeb5f",
  "rgb": {
    "r": 205,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 72.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89129,
    "c": 0.1678,
    "h": 120.1
  },
  "luminance": 0.73222
}

Semantic roles & 50–950 ramp

primary
#CDEB5F
secondary
#5236B8
accent
#0BDA38
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CDEB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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