#DFE172#DFE172

#DFE172 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.6% C 0.134 H 109.8°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#DFE172
RGBrgb(223, 225, 114)
HSLhsl(61, 65%, 66%)
HSVhsv(61, 49%, 88%)
CMYKcmyk(0.9%, 0%, 49.3%, 11.8%)
CIE-LABlab(87.37, -15.68, 53.52)
CIE-LCHlch(87.37, 55.77, 106.33°)
OKLaboklab(88.56% -0.0455 0.1265)
OKLCHoklch(88.56% 0.134 109.8)
XYZxyz(60.3952, 70.7547, 26.3918)
Luminance0.7075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE172 #7472E1
analogous
#E1AC72 #DFE172 #A8E172
triadic
#DFE172 #72DFE1 #E172DF
tetradic
#DFE172 #72E1AC #7472E1 #E172A8
square
#DFE172 #72E1AC #7472E1 #E172A8
split-complementary
#DFE172 #72A8E1 #AC72E1
monochromatic
#B0B326 #D4D640 #DFE172 #EAECA4 #F6F6D7

Accessibility & contrast

On white

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

On black

15.15
#DFE172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE172
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE172#FFFFFF#000000##000000
##DFE1721.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D968
Deuteranopia (green-blind)
#F1DD78
Tritanopia (blue-blind)
#ECD5C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfe172;
/* rgb */ color: rgb(223, 225, 114);
/* oklch */ color: oklch(88.6% 0.134 109.8);
Tailwind
colors: {
  custom: {
    50: '#ebea9d',
    500: '#dfe172',
    950: '#000000',
  },
}
SCSS
$custom: #dfe172;
$custom-light: #ebea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe172",
  "rgb": {
    "r": 223,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 61.081,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88563,
    "c": 0.13438,
    "h": 109.8
  },
  "luminance": 0.70753
}

Semantic roles & 50–950 ramp

primary
#DFE172
secondary
#4543B4
accent
#19CD1C
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DFE172

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

Preview Lab → · Contrast checker → · Palette generator →

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