#DFE157#DFE157

#DFE157 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.3% C 0.158 H 110.0°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#DFE157
RGBrgb(223, 225, 87)
HSLhsl(61, 70%, 61%)
HSVhsv(61, 61%, 88%)
CMYKcmyk(0.9%, 0%, 61.3%, 11.8%)
CIE-LABlab(87.11, -17.72, 65.12)
CIE-LCHlch(87.11, 67.49, 105.22°)
OKLaboklab(88.28% -0.054 0.1483)
OKLCHoklch(88.28% 0.158 110)
XYZxyz(59.0787, 70.2281, 19.4582)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE157 #5957E1
analogous
#E19E57 #DFE157 #9AE157
triadic
#DFE157 #57DFE1 #E157DF
tetradic
#DFE157 #57E19E #5957E1 #E1579A
square
#DFE157 #57E19E #5957E1 #E1579A
split-complementary
#DFE157 #579AE1 #9E57E1
monochromatic
#9FA11D #D2D526 #DFE157 #E9EA8B #F3F4BF

Accessibility & contrast

On white

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

On black

15.05
#DFE157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE157
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE157#FFFFFF#000000##000000
##DFE1571.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfe157;
/* rgb */ color: rgb(223, 225, 87);
/* oklch */ color: oklch(88.3% 0.158 110.0);
Tailwind
colors: {
  custom: {
    50: '#ecea8c',
    500: '#dfe157',
    950: '#000000',
  },
}
SCSS
$custom: #dfe157;
$custom-light: #ecea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe157",
  "rgb": {
    "r": 223,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 60.87,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88275,
    "c": 0.1578,
    "h": 110
  },
  "luminance": 0.70227
}

Semantic roles & 50–950 ramp

primary
#DFE157
secondary
#3A38A4
accent
#14D217
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFE157

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

Preview Lab → · Contrast checker → · Palette generator →

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