#DFE462#DFE462

#DFE462 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.0% C 0.152 H 111.2°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#DFE462
RGBrgb(223, 228, 98)
HSLhsl(62, 71%, 64%)
HSVhsv(62, 57%, 89%)
CMYKcmyk(2.2%, 0%, 57%, 10.6%)
CIE-LABlab(88.00, -18.44, 61.45)
CIE-LCHlch(88.00, 64.15, 106.70°)
OKLaboklab(89.01% -0.0549 0.1419)
OKLCHoklch(89.01% 0.152 111.2)
XYZxyz(60.3810, 72.0580, 22.2807)
Luminance0.7206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE462 #6762E4
analogous
#E4A862 #DFE462 #9EE462
triadic
#DFE462 #62DFE4 #E462DF
tetradic
#DFE462 #62E4A8 #6762E4 #E4629E
square
#DFE462 #62E4A8 #6762E4 #E4629E
split-complementary
#DFE462 #629EE4 #A862E4
monochromatic
#A8AE1E #D4DB2E #DFE462 #EAED96 #F4F6CA

Accessibility & contrast

On white

1.36
#DFE462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#DFE462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE462
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE462#FFFFFF#000000##000000
##DFE4621.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#F5DF6A
Tritanopia (blue-blind)
#EDD7C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #dfe462;
/* rgb */ color: rgb(223, 228, 98);
/* oklch */ color: oklch(89.0% 0.152 111.2);
Tailwind
colors: {
  custom: {
    50: '#ecec93',
    500: '#dfe462',
    950: '#000000',
  },
}
SCSS
$custom: #dfe462;
$custom-light: #ecec93;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe462",
  "rgb": {
    "r": 223,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 62.308,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89014,
    "c": 0.15214,
    "h": 111.2
  },
  "luminance": 0.72057
}

Semantic roles & 50–950 ramp

primary
#DFE462
secondary
#403BAF
accent
#13D31A
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DFE462

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

Preview Lab → · Contrast checker → · Palette generator →

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