#DFE226#DFE226

#DFE226 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.2% C 0.186 H 110.7°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#DFE226
RGBrgb(223, 226, 38)
HSLhsl(61, 76%, 52%)
HSVhsv(61, 83%, 89%)
CMYKcmyk(1.3%, 0%, 83.2%, 11.4%)
CIE-LABlab(87.11, -20.37, 81.00)
CIE-LCHlch(87.11, 83.52, 104.12°)
OKLaboklab(88.19% -0.0656 0.1739)
OKLCHoklch(88.19% 0.186 110.7)
XYZxyz(57.9799, 70.2223, 12.3334)
Luminance0.7022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE226 #2926E2
analogous
#E28726 #DFE226 #81E226
triadic
#DFE226 #26DFE2 #E226DF
tetradic
#DFE226 #26E287 #2926E2 #E22681
square
#DFE226 #26E287 #2926E2 #E22681
split-complementary
#DFE226 #2681E2 #8726E2
monochromatic
#7B7D11 #B0B318 #DFE226 #E7E95C #EFF092

Accessibility & contrast

On white

1.40
#DFE226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#DFE226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE226
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE226#FFFFFF#000000##000000
##DFE2261.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D800
Deuteranopia (green-blind)
#F6DC3A
Tritanopia (blue-blind)
#EFD3C1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfe226;
/* rgb */ color: rgb(223, 226, 38);
/* oklch */ color: oklch(88.2% 0.186 110.7);
Tailwind
colors: {
  custom: {
    50: '#eeea75',
    500: '#dfe226',
    950: '#000000',
  },
}
SCSS
$custom: #dfe226;
$custom-light: #eeea75;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe226",
  "rgb": {
    "r": 223,
    "g": 226,
    "b": 38
  },
  "hsl": {
    "h": 60.957,
    "s": 76.423,
    "l": 51.765
  },
  "oklch": {
    "l": 0.88188,
    "c": 0.18588,
    "h": 110.7
  },
  "luminance": 0.70221
}

Semantic roles & 50–950 ramp

primary
#DFE226
secondary
#2A2884
accent
#35F338
background
#FFFEFB
surface
#FFFDF1
border
#D7D5CB
text
#17160A
muted
#85847D

Preview Lab

Preview with #DFE226

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

Preview Lab → · Contrast checker → · Palette generator →

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