#DFE962#DFE962

#DFE962 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.1% C 0.158 H 113.1°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#DFE962
RGBrgb(223, 233, 98)
HSLhsl(64, 75%, 65%)
HSVhsv(64, 58%, 91%)
CMYKcmyk(4.3%, 0%, 57.9%, 8.6%)
CIE-LABlab(89.32, -20.86, 62.92)
CIE-LCHlch(89.32, 66.29, 108.35°)
OKLaboklab(90.07% -0.0618 0.145)
OKLCHoklch(90.07% 0.158 113.1)
XYZxyz(61.7764, 74.8488, 22.7459)
Luminance0.7485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE962 #6C62E9
analogous
#E9AF62 #DFE962 #9CE962
triadic
#DFE962 #62DFE9 #E962DF
tetradic
#DFE962 #62E9AF #6C62E9 #E9629C
square
#DFE962 #62E9AF #6C62E9 #E9629C
split-complementary
#DFE962 #629CE9 #AF62E9
monochromatic
#ABB71A #D4E12C #DFE962 #EAF198 #F5F8CD

Accessibility & contrast

On white

1.31
#DFE962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#DFE962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE962
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE962#FFFFFF#000000##000000
##DFE9621.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#F9E26A
Tritanopia (blue-blind)
#ECDCCC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dfe962;
/* rgb */ color: rgb(223, 233, 98);
/* oklch */ color: oklch(90.1% 0.158 113.1);
Tailwind
colors: {
  custom: {
    50: '#ecef93',
    500: '#dfe962',
    950: '#000000',
  },
}
SCSS
$custom: #dfe962;
$custom-light: #ecef93;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe962",
  "rgb": {
    "r": 223,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 64.444,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90074,
    "c": 0.15763,
    "h": 113.1
  },
  "luminance": 0.74848
}

Semantic roles & 50–950 ramp

primary
#DFE962
secondary
#4238B7
accent
#0ED81D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFE962

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

Preview Lab → · Contrast checker → · Palette generator →

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