#DCF238#DCF238

#DCF238 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.5% C 0.195 H 116.5°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#DCF238
RGBrgb(220, 242, 56)
HSLhsl(67, 88%, 58%)
HSVhsv(67, 77%, 95%)
CMYKcmyk(9.1%, 0%, 76.9%, 5.1%)
CIE-LABlab(91.24, -28.64, 79.96)
CIE-LCHlch(91.24, 84.93, 109.70°)
OKLaboklab(91.47% -0.0871 0.1748)
OKLCHoklch(91.47% 0.195 116.5)
XYZxyz(61.9828, 79.0063, 15.7251)
Luminance0.7901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF238 #4E38F2
analogous
#F2AB38 #DCF238 #7FF238
triadic
#DCF238 #38DCF2 #F238DC
tetradic
#DCF238 #38F2AB #4E38F2 #F2387F
square
#DCF238 #38F2AB #4E38F2 #F2387F
split-complementary
#DCF238 #387FF2 #AB38F2
monochromatic
#93A50B #C6DE0F #DCF238 #E6F671 #F0FAAB

Accessibility & contrast

On white

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

On black

16.80
#DCF238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF238
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF238#FFFFFF#000000##000000
##DCF2381.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE500
Deuteranopia (green-blind)
#FFE74A
Tritanopia (blue-blind)
#EAE4D0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf238;
/* rgb */ color: rgb(220, 242, 56);
/* oklch */ color: oklch(91.5% 0.195 116.5);
Tailwind
colors: {
  custom: {
    50: '#ebf67e',
    500: '#dcf238',
    950: '#000000',
  },
}
SCSS
$custom: #dcf238;
$custom-light: #ebf67e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf238",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 56
  },
  "hsl": {
    "h": 67.097,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.91467,
    "c": 0.19527,
    "h": 116.5
  },
  "luminance": 0.79005
}

Semantic roles & 50–950 ramp

primary
#DCF238
secondary
#3728A6
accent
#2AFE43
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17170B
muted
#85857E

Preview Lab

Preview with #DCF238

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

Preview Lab → · Contrast checker → · Palette generator →

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