#CDE258#CDE258

#CDE258 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.1% C 0.163 H 117.2°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#CDE258
RGBrgb(205, 226, 88)
HSLhsl(69, 70%, 62%)
HSVhsv(69, 61%, 89%)
CMYKcmyk(9.3%, 0%, 61.1%, 11.4%)
CIE-LABlab(86.04, -25.39, 63.17)
CIE-LCHlch(86.04, 68.08, 111.89°)
OKLaboklab(87.1% -0.0744 0.1447)
OKLCHoklch(87.1% 0.163 117.2)
XYZxyz(54.1357, 68.0770, 19.5189)
Luminance0.6808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE258 #6D58E2
analogous
#E2B258 #CDE258 #88E258
triadic
#CDE258 #58CDE2 #E258CD
tetradic
#CDE258 #58E2B2 #6D58E2 #E25888
square
#CDE258 #58E2B2 #6D58E2 #E25888
split-complementary
#CDE258 #5888E2 #B258E2
monochromatic
#8FA31C #BCD725 #CDE258 #DDEB8C #ECF4C0

Accessibility & contrast

On white

1.44
#CDE258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#CDE258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE258
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE258#FFFFFF#000000##000000
##CDE2581.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D747
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#D9D6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cde258;
/* rgb */ color: rgb(205, 226, 88);
/* oklch */ color: oklch(87.1% 0.163 117.2);
Tailwind
colors: {
  custom: {
    50: '#dfeb8d',
    500: '#cde258',
    950: '#000000',
  },
}
SCSS
$custom: #cde258;
$custom-light: #dfeb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cde258",
  "rgb": {
    "r": 205,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 69.13,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87095,
    "c": 0.16269,
    "h": 117.2
  },
  "luminance": 0.68076
}

Semantic roles & 50–950 ramp

primary
#CDE258
secondary
#4938A6
accent
#13D230
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CDE258

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

Preview Lab → · Contrast checker → · Palette generator →

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