#DFE87C#DFE87C

#DFE87C is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.2% C 0.133 H 113.0°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#DFE87C
RGBrgb(223, 232, 124)
HSLhsl(65, 70%, 70%)
HSVhsv(65, 47%, 91%)
CMYKcmyk(3.9%, 0%, 46.6%, 9%)
CIE-LABlab(89.33, -18.21, 51.17)
CIE-LCHlch(89.33, 54.31, 109.59°)
OKLaboklab(90.16% -0.0517 0.1221)
OKLCHoklch(90.16% 0.133 113)
XYZxyz(62.9271, 74.8575, 30.1989)
Luminance0.7486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFE87C #857CE8
analogous
#E8BB7C #DFE87C #A9E87C
triadic
#DFE87C #7CDFE8 #E87CDF
tetradic
#DFE87C #7CE8BB #857CE8 #E87CA9
square
#DFE87C #7CE8BB #857CE8 #E87CA9
split-complementary
#DFE87C #7CA9E8 #BB7CE8
monochromatic
#B9C723 #D2DF48 #DFE87C #ECF1B0 #F8FAE4

Accessibility & contrast

On white

1.31
#DFE87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#DFE87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFE87C
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFE87C#FFFFFF#000000##000000
##DFE87C1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF73
Deuteranopia (green-blind)
#F6E281
Tritanopia (blue-blind)
#EBDDCF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dfe87c;
/* rgb */ color: rgb(223, 232, 124);
/* oklch */ color: oklch(90.2% 0.133 113.0);
Tailwind
colors: {
  custom: {
    50: '#ebefa4',
    500: '#dfe87c',
    950: '#000000',
  },
}
SCSS
$custom: #dfe87c;
$custom-light: #ebefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfe87c",
  "rgb": {
    "r": 223,
    "g": 232,
    "b": 124
  },
  "hsl": {
    "h": 65,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90164,
    "c": 0.13261,
    "h": 113
  },
  "luminance": 0.74856
}

Semantic roles & 50–950 ramp

primary
#DFE87C
secondary
#5248C0
accent
#13D223
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DFE87C

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

Preview Lab → · Contrast checker → · Palette generator →

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