#DCF251#DCF251

#DCF251 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.6% C 0.181 H 116.8°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#DCF251
RGBrgb(220, 242, 81)
HSLhsl(68, 86%, 63%)
HSVhsv(68, 67%, 95%)
CMYKcmyk(9.1%, 0%, 66.5%, 5.1%)
CIE-LABlab(91.38, -27.45, 71.85)
CIE-LCHlch(91.38, 76.91, 110.91°)
OKLaboklab(91.62% -0.0817 0.1616)
OKLCHoklch(91.62% 0.181 116.8)
XYZxyz(62.7539, 79.3148, 19.7864)
Luminance0.7931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF251 #6751F2
analogous
#F2B751 #DCF251 #8BF251
triadic
#DCF251 #51DCF2 #F251DC
tetradic
#DCF251 #51F2B7 #6751F2 #F2518B
square
#DCF251 #51F2B7 #6751F2 #F2518B
split-complementary
#DCF251 #518BF2 #B751F2
monochromatic
#A3BB0E #D1EE18 #DCF251 #E7F68A #F3FBC3

Accessibility & contrast

On white

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

On black

16.86
#DCF251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF251
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF251#FFFFFF#000000##000000
##DCF2511.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE639
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#E9E5D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf251;
/* rgb */ color: rgb(220, 242, 81);
/* oklch */ color: oklch(91.6% 0.181 116.8);
Tailwind
colors: {
  custom: {
    50: '#eaf68a',
    500: '#dcf251',
    950: '#000000',
  },
}
SCSS
$custom: #dcf251;
$custom-light: #eaf68a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf251",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 68.199,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91624,
    "c": 0.18113,
    "h": 116.8
  },
  "luminance": 0.79314
}

Semantic roles & 50–950 ramp

primary
#DCF251
secondary
#412EB9
accent
#03E321
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DCF251

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

Preview Lab → · Contrast checker → · Palette generator →

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