#CDE54F#CDE54F

#CDE54F is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 87.7% C 0.173 H 117.9°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#CDE54F
RGBrgb(205, 229, 79)
HSLhsl(70, 74%, 60%)
HSVhsv(70, 66%, 90%)
CMYKcmyk(10.5%, 0%, 65.5%, 10.2%)
CIE-LABlab(86.79, -27.40, 67.56)
CIE-LCHlch(86.79, 72.91, 112.08°)
OKLaboklab(87.67% -0.0809 0.1527)
OKLCHoklch(87.67% 0.173 117.9)
XYZxyz(54.6085, 69.5828, 17.9497)
Luminance0.6958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE54F #674FE5
analogous
#E5B24F #CDE54F #82E54F
triadic
#CDE54F #4FCDE5 #E54FCD
tetradic
#CDE54F #4FE5B2 #674FE5 #E54F82
square
#CDE54F #4FE5B2 #674FE5 #E54F82
split-complementary
#CDE54F #4F82E5 #B24FE5
monochromatic
#8CA218 #BAD720 #CDE54F #DCED84 #EBF5BA

Accessibility & contrast

On white

1.41
#CDE54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#CDE54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE54F
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE54F#FFFFFF#000000##000000
##CDE54F1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93A
Deuteranopia (green-blind)
#F1DA5A
Tritanopia (blue-blind)
#D9D9C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cde54f;
/* rgb */ color: rgb(205, 229, 79);
/* oklch */ color: oklch(87.7% 0.173 117.9);
Tailwind
colors: {
  custom: {
    50: '#dfed88',
    500: '#cde54f',
    950: '#000000',
  },
}
SCSS
$custom: #cde54f;
$custom-light: #dfed88;
$custom-dark: #000000;
JSON
{
  "hex": "#cde54f",
  "rgb": {
    "r": 205,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 69.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87673,
    "c": 0.17282,
    "h": 117.9
  },
  "luminance": 0.69582
}

Semantic roles & 50–950 ramp

primary
#CDE54F
secondary
#4634A4
accent
#0FD62F
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CDE54F

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

Preview Lab → · Contrast checker → · Palette generator →

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