#CDEF57#CDEF57

#CDEF57 is a very light, vivid yellow-green. Relative luminance 0.754; OKLCH L 89.9% C 0.179 H 120.9°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#CDEF57
RGBrgb(205, 239, 87)
HSLhsl(73, 83%, 64%)
HSVhsv(73, 64%, 94%)
CMYKcmyk(14.2%, 0%, 63.6%, 6.3%)
CIE-LABlab(89.58, -31.56, 67.36)
CIE-LCHlch(89.58, 74.39, 115.11°)
OKLaboklab(89.94% -0.0918 0.1534)
OKLCHoklch(89.94% 0.179 120.9)
XYZxyz(57.7644, 75.4003, 20.5256)
Luminance0.7540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEF57 #7957EF
analogous
#EFC557 #CDEF57 #81EF57
triadic
#CDEF57 #57CDEF #EF57CD
tetradic
#CDEF57 #57EFC5 #7957EF #EF5781
square
#CDEF57 #57EFC5 #7957EF #EF5781
split-complementary
#CDEF57 #5781EF #C557EF
monochromatic
#94BA12 #BCEA1F #CDEF57 #DEF48F #EEFAC7

Accessibility & contrast

On white

1.31
#CDEF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#CDEF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEF57
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEF57#FFFFFF#000000##000000
##CDEF571.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE243
Deuteranopia (green-blind)
#F9E162
Tritanopia (blue-blind)
#D8E3D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cdef57;
/* rgb */ color: rgb(205, 239, 87);
/* oklch */ color: oklch(89.9% 0.179 120.9);
Tailwind
colors: {
  custom: {
    50: '#dff48d',
    500: '#cdef57',
    950: '#000000',
  },
}
SCSS
$custom: #cdef57;
$custom-light: #dff48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdef57",
  "rgb": {
    "r": 205,
    "g": 239,
    "b": 87
  },
  "hsl": {
    "h": 73.421,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89935,
    "c": 0.17874,
    "h": 120.9
  },
  "luminance": 0.754
}

Semantic roles & 50–950 ramp

primary
#CDEF57
secondary
#5031B9
accent
#06DF37
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDEF57

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

Preview Lab → · Contrast checker → · Palette generator →

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