#DFE152#DFE152

#DFE152 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.2% C 0.162 H 110.1°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#DFE152
RGBrgb(223, 225, 82)
HSLhsl(61, 70%, 60%)
HSVhsv(61, 64%, 88%)
CMYKcmyk(0.9%, 0%, 63.6%, 11.8%)
CIE-LABlab(87.07, -18.03, 67.09)
CIE-LCHlch(87.07, 69.48, 105.04°)
OKLaboklab(88.23% -0.0554 0.1517)
OKLCHoklch(88.23% 0.162 110.1)
XYZxyz(58.8815, 70.1492, 18.4194)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE152 #5452E1
analogous
#E19B52 #DFE152 #98E152
triadic
#DFE152 #52DFE1 #E152DF
tetradic
#DFE152 #52E19B #5452E1 #E15298
square
#DFE152 #52E19B #5452E1 #E15298
split-complementary
#DFE152 #5298E1 #9B52E1
monochromatic
#9C9D1B #CFD124 #DFE152 #E9EA86 #F2F3BA

Accessibility & contrast

On white

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

On black

15.03
#DFE152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE152
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE152#FFFFFF#000000##000000
##DFE1521.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83F
Deuteranopia (green-blind)
#F3DC5B
Tritanopia (blue-blind)
#EED4C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfe152;
/* rgb */ color: rgb(223, 225, 82);
/* oklch */ color: oklch(88.2% 0.162 110.1);
Tailwind
colors: {
  custom: {
    50: '#ecea89',
    500: '#dfe152',
    950: '#000000',
  },
}
SCSS
$custom: #dfe152;
$custom-light: #ecea89;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe152",
  "rgb": {
    "r": 223,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 60.839,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88232,
    "c": 0.16152,
    "h": 110.1
  },
  "luminance": 0.70148
}

Semantic roles & 50–950 ramp

primary
#DFE152
secondary
#3837A1
accent
#13D216
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFE152

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

Preview Lab → · Contrast checker → · Palette generator →

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