#DCF151#DCF151

#DCF151 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.4% C 0.180 H 116.5°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#DCF151
RGBrgb(220, 241, 81)
HSLhsl(68, 85%, 63%)
HSVhsv(68, 66%, 95%)
CMYKcmyk(8.7%, 0%, 66.4%, 5.5%)
CIE-LABlab(91.11, -26.98, 71.57)
CIE-LCHlch(91.11, 76.49, 110.65°)
OKLaboklab(91.41% -0.0804 0.1611)
OKLCHoklch(91.41% 0.18 116.5)
XYZxyz(62.4571, 78.7211, 19.6875)
Luminance0.7872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF151 #6651F1
analogous
#F1B651 #DCF151 #8CF151
triadic
#DCF151 #51DCF1 #F151DC
tetradic
#DCF151 #51F1B6 #6651F1 #F1518C
square
#DCF151 #51F1B6 #6651F1 #F1518C
split-complementary
#DCF151 #518CF1 #B651F1
monochromatic
#A2B90F #D1EC18 #DCF151 #E7F68A #F3FAC2

Accessibility & contrast

On white

1.25
#DCF151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#DCF151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF151
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF151#FFFFFF#000000##000000
##DCF1511.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE539
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#E9E4D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dcf151;
/* rgb */ color: rgb(220, 241, 81);
/* oklch */ color: oklch(91.4% 0.180 116.5);
Tailwind
colors: {
  custom: {
    50: '#eaf58a',
    500: '#dcf151',
    950: '#000000',
  },
}
SCSS
$custom: #dcf151;
$custom-light: #eaf58a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf151",
  "rgb": {
    "r": 220,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 67.875,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.91408,
    "c": 0.18003,
    "h": 116.5
  },
  "luminance": 0.7872
}

Semantic roles & 50–950 ramp

primary
#DCF151
secondary
#412FB8
accent
#04E221
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DCF151

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

Preview Lab → · Contrast checker → · Palette generator →

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