#DCF540#DCF540

#DCF540 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.2% C 0.194 H 117.4°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#DCF540
RGBrgb(220, 245, 64)
HSLhsl(68, 90%, 61%)
HSVhsv(68, 74%, 96%)
CMYKcmyk(10.2%, 0%, 73.9%, 3.9%)
CIE-LABlab(92.08, -29.71, 78.36)
CIE-LCHlch(92.08, 83.80, 110.76°)
OKLaboklab(92.16% -0.0894 0.1727)
OKLCHoklch(92.16% 0.194 117.4)
XYZxyz(63.0946, 80.8913, 17.1393)
Luminance0.8089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF540 #5940F5
analogous
#F5B340 #DCF540 #82F540
triadic
#DCF540 #40DCF5 #F540DC
tetradic
#DCF540 #40F5B3 #5940F5 #F54082
square
#DCF540 #40F5B3 #5940F5 #F54082
split-complementary
#DCF540 #4082F5 #B340F5
monochromatic
#9AB109 #CDEB0C #DCF540 #E7F87A #F1FBB4

Accessibility & contrast

On white

1.22
#DCF540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#DCF540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF540
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF540#FFFFFF#000000##000000
##DCF5401.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE814
Deuteranopia (green-blind)
#FFE950
Tritanopia (blue-blind)
#EAE7D3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dcf540;
/* rgb */ color: rgb(220, 245, 64);
/* oklch */ color: oklch(92.2% 0.194 117.4);
Tailwind
colors: {
  custom: {
    50: '#ebf882',
    500: '#dcf540',
    950: '#000000',
  },
}
SCSS
$custom: #dcf540;
$custom-light: #ebf882;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf540",
  "rgb": {
    "r": 220,
    "g": 245,
    "b": 64
  },
  "hsl": {
    "h": 68.287,
    "s": 90.05,
    "l": 60.588
  },
  "oklch": {
    "l": 0.92159,
    "c": 0.19449,
    "h": 117.4
  },
  "luminance": 0.80891
}

Semantic roles & 50–950 ramp

primary
#DCF540
secondary
#3B28B1
accent
#00E620
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17170B
muted
#85857E

Preview Lab

Preview with #DCF540

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

Preview Lab → · Contrast checker → · Palette generator →

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