#DCF45F#DCF45F

#DCF45F is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.2% C 0.173 H 117.7°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#DCF45F
RGBrgb(220, 244, 95)
HSLhsl(70, 87%, 66%)
HSVhsv(70, 61%, 96%)
CMYKcmyk(9.8%, 0%, 61.1%, 4.3%)
CIE-LABlab(92.02, -27.50, 67.05)
CIE-LCHlch(92.02, 72.48, 112.30°)
OKLaboklab(92.17% -0.0805 0.1535)
OKLCHoklch(92.17% 0.173 117.7)
XYZxyz(63.9326, 80.7438, 23.0414)
Luminance0.8074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF45F #775FF4
analogous
#F4C15F #DCF45F #92F45F
triadic
#DCF45F #5FDCF4 #F45FDC
tetradic
#DCF45F #5FF4C1 #775FF4 #F45F92
square
#DCF45F #5FF4C1 #775FF4 #F45F92
split-complementary
#DCF45F #5F92F4 #C15FF4
monochromatic
#ACCB0E #CFF026 #DCF45F #E9F898 #F5FCD2

Accessibility & contrast

On white

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

On black

17.15
#DCF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF45F
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF45F#FFFFFF#000000##000000
##DCF45F1.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84D
Deuteranopia (green-blind)
#FFE969
Tritanopia (blue-blind)
#E8E7D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dcf45f;
/* rgb */ color: rgb(220, 244, 95);
/* oklch */ color: oklch(92.2% 0.173 117.7);
Tailwind
colors: {
  custom: {
    50: '#eaf792',
    500: '#dcf45f',
    950: '#000000',
  },
}
SCSS
$custom: #dcf45f;
$custom-light: #eaf792;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf45f",
  "rgb": {
    "r": 220,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 69.664,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92172,
    "c": 0.17333,
    "h": 117.7
  },
  "luminance": 0.80743
}

Semantic roles & 50–950 ramp

primary
#DCF45F
secondary
#4830C7
accent
#02E426
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DCF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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