#DFE162#DFE162

#DFE162 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.4% C 0.149 H 109.9°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#DFE162
RGBrgb(223, 225, 98)
HSLhsl(61, 68%, 63%)
HSVhsv(61, 56%, 88%)
CMYKcmyk(0.9%, 0%, 56.4%, 11.8%)
CIE-LABlab(87.20, -16.97, 60.56)
CIE-LCHlch(87.20, 62.90, 105.65°)
OKLaboklab(88.38% -0.0508 0.14)
OKLCHoklch(88.38% 0.149 109.9)
XYZxyz(59.5628, 70.4217, 22.0080)
Luminance0.7042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE162 #6462E1
analogous
#E1A362 #DFE162 #9FE162
triadic
#DFE162 #62DFE1 #E162DF
tetradic
#DFE162 #62E1A3 #6462E1 #E1629F
square
#DFE162 #62E1A3 #6462E1 #E1629F
split-complementary
#DFE162 #629FE1 #A362E1
monochromatic
#A6A820 #D5D72F #DFE162 #E9EB95 #F4F5C9

Accessibility & contrast

On white

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

On black

15.08
#DFE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE162
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE162#FFFFFF#000000##000000
##DFE1621.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D854
Deuteranopia (green-blind)
#F2DC69
Tritanopia (blue-blind)
#EDD4C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfe162;
/* rgb */ color: rgb(223, 225, 98);
/* oklch */ color: oklch(88.4% 0.149 109.9);
Tailwind
colors: {
  custom: {
    50: '#ecea93',
    500: '#dfe162',
    950: '#000000',
  },
}
SCSS
$custom: #dfe162;
$custom-light: #ecea93;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe162",
  "rgb": {
    "r": 223,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 60.945,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88381,
    "c": 0.14892,
    "h": 109.9
  },
  "luminance": 0.7042
}

Semantic roles & 50–950 ramp

primary
#DFE162
secondary
#3E3DAB
accent
#16D019
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DFE162

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

Preview Lab → · Contrast checker → · Palette generator →

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