#DFE240#DFE240

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

Color values

HEX#DFE240
RGBrgb(223, 226, 64)
HSLhsl(61, 74%, 57%)
HSVhsv(61, 72%, 89%)
CMYKcmyk(1.3%, 0%, 71.7%, 11.4%)
CIE-LABlab(87.22, -19.46, 73.84)
CIE-LCHlch(87.22, 76.36, 104.76°)
OKLaboklab(88.31% -0.0611 0.1631)
OKLCHoklch(88.31% 0.174 110.6)
XYZxyz(58.5552, 70.4525, 15.3637)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE240 #4340E2
analogous
#E29440 #DFE240 #8EE240
triadic
#DFE240 #40DFE2 #E240DF
tetradic
#DFE240 #40E294 #4340E2 #E2408E
square
#DFE240 #40E294 #4340E2 #E2408E
split-complementary
#DFE240 #408EE2 #9440E2
monochromatic
#8F9216 #C4C71E #DFE240 #E8EA75 #F1F2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFE240#FFFFFF#000000##000000
##DFE2401.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)
#F4D820
Deuteranopia (green-blind)
#F5DD4D
Tritanopia (blue-blind)
#EED4C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfe240;
/* rgb */ color: rgb(223, 226, 64);
/* oklch */ color: oklch(88.3% 0.174 110.6);
Tailwind
colors: {
  custom: {
    50: '#edea80',
    500: '#dfe240',
    950: '#000000',
  },
}
SCSS
$custom: #dfe240;
$custom-light: #edea80;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe240",
  "rgb": {
    "r": 223,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 61.111,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.88313,
    "c": 0.17414,
    "h": 110.6
  },
  "luminance": 0.70451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFE240

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

Preview Lab → · Contrast checker → · Palette generator →

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