#DCF072#DCF072

#DCF072 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.5% C 0.153 H 117.0°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#DCF072
RGBrgb(220, 240, 114)
HSLhsl(70, 81%, 69%)
HSVhsv(70, 53%, 94%)
CMYKcmyk(8.3%, 0%, 52.5%, 5.9%)
CIE-LABlab(91.12, -24.14, 57.87)
CIE-LCHlch(91.12, 62.71, 112.64°)
OKLaboklab(91.51% -0.0693 0.1359)
OKLCHoklch(91.51% 0.153 117)
XYZxyz(63.7135, 78.7514, 27.7604)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF072 #8672F0
analogous
#F0C572 #DCF072 #9DF072
triadic
#DCF072 #72DCF0 #F072DC
tetradic
#DCF072 #72F0C5 #8672F0 #F0729D
square
#DCF072 #72F0C5 #8672F0 #F0729D
split-complementary
#DCF072 #729DF0 #C572F0
monochromatic
#B4D116 #CEEA3B #DCF072 #EAF6A9 #F7FCE1

Accessibility & contrast

On white

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

On black

16.75
#DCF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF072
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF072#FFFFFF#000000##000000
##DCF0721.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#E7E5D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf072;
/* rgb */ color: rgb(220, 240, 114);
/* oklch */ color: oklch(91.5% 0.153 117.0);
Tailwind
colors: {
  custom: {
    50: '#e9f49e',
    500: '#dcf072',
    950: '#000000',
  },
}
SCSS
$custom: #dcf072;
$custom-light: #e9f49e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf072",
  "rgb": {
    "r": 220,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 69.524,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91509,
    "c": 0.15259,
    "h": 117
  },
  "luminance": 0.78751
}

Semantic roles & 50–950 ramp

primary
#DCF072
secondary
#533DC9
accent
#08DD2A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF072

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

Preview Lab → · Contrast checker → · Palette generator →

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