#DFE242#DFE242

#DFE242 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.3% C 0.173 H 110.5°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#DFE242
RGBrgb(223, 226, 66)
HSLhsl(61, 73%, 57%)
HSVhsv(61, 71%, 89%)
CMYKcmyk(1.3%, 0%, 70.8%, 11.4%)
CIE-LABlab(87.23, -19.37, 73.18)
CIE-LCHlch(87.23, 75.70, 104.82°)
OKLaboklab(88.33% -0.0607 0.162)
OKLCHoklch(88.33% 0.173 110.5)
XYZxyz(58.6132, 70.4756, 15.6688)
Luminance0.7047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE242 #4542E2
analogous
#E29542 #DFE242 #8FE242
triadic
#DFE242 #42DFE2 #E242DF
tetradic
#DFE242 #42E295 #4542E2 #E2428F
square
#DFE242 #42E295 #4542E2 #E2428F
split-complementary
#DFE242 #428FE2 #9542E2
monochromatic
#919317 #C5C81F #DFE242 #E8EA77 #F1F2AC

Accessibility & contrast

On white

1.39
#DFE242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#DFE242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE242
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE242#FFFFFF#000000##000000
##DFE2421.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D824
Deuteranopia (green-blind)
#F5DD4E
Tritanopia (blue-blind)
#EED4C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfe242;
/* rgb */ color: rgb(223, 226, 66);
/* oklch */ color: oklch(88.3% 0.173 110.5);
Tailwind
colors: {
  custom: {
    50: '#edea81',
    500: '#dfe242',
    950: '#000000',
  },
}
SCSS
$custom: #dfe242;
$custom-light: #edea81;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe242",
  "rgb": {
    "r": 223,
    "g": 226,
    "b": 66
  },
  "hsl": {
    "h": 61.125,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.88326,
    "c": 0.17299,
    "h": 110.5
  },
  "luminance": 0.70474
}

Semantic roles & 50–950 ramp

primary
#DFE242
secondary
#333198
accent
#38F03B
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DFE242

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

Preview Lab → · Contrast checker → · Palette generator →

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