#CDE340#CDE340

#CDE340 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.1% C 0.180 H 117.1°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#CDE340
RGBrgb(205, 227, 64)
HSLhsl(68, 74%, 57%)
HSVhsv(68, 72%, 89%)
CMYKcmyk(9.7%, 0%, 71.8%, 11%)
CIE-LABlab(86.15, -27.28, 72.35)
CIE-LCHlch(86.15, 77.32, 110.66°)
OKLaboklab(87.13% -0.0819 0.1605)
OKLCHoklch(87.13% 0.18 117.1)
XYZxyz(53.5726, 68.2881, 15.2082)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE340 #5640E3
analogous
#E3A740 #CDE340 #7CE340
triadic
#CDE340 #40CDE3 #E340CD
tetradic
#CDE340 #40E3A7 #5640E3 #E3407C
square
#CDE340 #40E3A7 #5640E3 #E3407C
split-complementary
#CDE340 #407CE3 #A740E3
monochromatic
#829316 #B1C81D #CDE340 #DBEB75 #E9F3AB

Accessibility & contrast

On white

1.43
#CDE340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#CDE340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE340
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE340#FFFFFF#000000##000000
##CDE3401.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D720
Deuteranopia (green-blind)
#F0D84E
Tritanopia (blue-blind)
#DAD6C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cde340;
/* rgb */ color: rgb(205, 227, 64);
/* oklch */ color: oklch(87.1% 0.180 117.1);
Tailwind
colors: {
  custom: {
    50: '#e0eb80',
    500: '#cde340',
    950: '#000000',
  },
}
SCSS
$custom: #cde340;
$custom-light: #e0eb80;
$custom-dark: #000000;
JSON
{
  "hex": "#cde340",
  "rgb": {
    "r": 205,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 68.098,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.87126,
    "c": 0.18018,
    "h": 117.1
  },
  "luminance": 0.68287
}

Semantic roles & 50–950 ramp

primary
#CDE340
secondary
#3E3097
accent
#37F150
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CDE340

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

Preview Lab → · Contrast checker → · Palette generator →

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