#DFE340#DFE340

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

Color values

HEX#DFE340
RGBrgb(223, 227, 64)
HSLhsl(61, 74%, 57%)
HSVhsv(61, 72%, 89%)
CMYKcmyk(1.8%, 0%, 71.8%, 11%)
CIE-LABlab(87.48, -19.95, 74.09)
CIE-LCHlch(87.48, 76.73, 105.07°)
OKLaboklab(88.53% -0.0625 0.1636)
OKLCHoklch(88.53% 0.175 110.9)
XYZxyz(58.8279, 70.9979, 15.4546)
Luminance0.7100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE340 #4440E3
analogous
#E39540 #DFE340 #8EE340
triadic
#DFE340 #40DFE3 #E340DF
tetradic
#DFE340 #40E395 #4440E3 #E3408E
square
#DFE340 #40E395 #4440E3 #E3408E
split-complementary
#DFE340 #408EE3 #9540E3
monochromatic
#909316 #C4C81D #DFE340 #E8EB75 #F1F3AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFE340#FFFFFF#000000##000000
##DFE3401.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)
#F5D920
Deuteranopia (green-blind)
#F6DD4D
Tritanopia (blue-blind)
#EED5C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfe340;
/* rgb */ color: rgb(223, 227, 64);
/* oklch */ color: oklch(88.5% 0.175 110.9);
Tailwind
colors: {
  custom: {
    50: '#edeb80',
    500: '#dfe340',
    950: '#000000',
  },
}
SCSS
$custom: #dfe340;
$custom-light: #edeb80;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe340",
  "rgb": {
    "r": 223,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 61.472,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.88526,
    "c": 0.17512,
    "h": 110.9
  },
  "luminance": 0.70996
}

Semantic roles & 50–950 ramp

primary
#DFE340
secondary
#323097
accent
#37F13B
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DFE340

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

Preview Lab → · Contrast checker → · Palette generator →

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