#DFE342#DFE342

#DFE342 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.5% C 0.174 H 110.9°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#DFE342
RGBrgb(223, 227, 66)
HSLhsl(61, 74%, 57%)
HSVhsv(61, 71%, 89%)
CMYKcmyk(1.8%, 0%, 70.9%, 11%)
CIE-LABlab(87.50, -19.85, 73.43)
CIE-LCHlch(87.50, 76.07, 105.13°)
OKLaboklab(88.54% -0.0621 0.1625)
OKLCHoklch(88.54% 0.174 110.9)
XYZxyz(58.8859, 71.0211, 15.7597)
Luminance0.7102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE342 #4642E3
analogous
#E39742 #DFE342 #8EE342
triadic
#DFE342 #42DFE3 #E342DF
tetradic
#DFE342 #42E397 #4642E3 #E3428E
square
#DFE342 #42E397 #4642E3 #E3428E
split-complementary
#DFE342 #428EE3 #9742E3
monochromatic
#919516 #C6CA1E #DFE342 #E8EB77 #F1F3AD

Accessibility & contrast

On white

1.38
#DFE342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#DFE342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE342
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE342#FFFFFF#000000##000000
##DFE3421.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D924
Deuteranopia (green-blind)
#F6DD4E
Tritanopia (blue-blind)
#EED5C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfe342;
/* rgb */ color: rgb(223, 227, 66);
/* oklch */ color: oklch(88.5% 0.174 110.9);
Tailwind
colors: {
  custom: {
    50: '#edeb81',
    500: '#dfe342',
    950: '#000000',
  },
}
SCSS
$custom: #dfe342;
$custom-light: #edeb81;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe342",
  "rgb": {
    "r": 223,
    "g": 227,
    "b": 66
  },
  "hsl": {
    "h": 61.491,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.88538,
    "c": 0.17397,
    "h": 110.9
  },
  "luminance": 0.71019
}

Semantic roles & 50–950 ramp

primary
#DFE342
secondary
#333099
accent
#37F13C
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DFE342

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

Preview Lab → · Contrast checker → · Palette generator →

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