#DFEB5D#DFEB5D

#DFEB5D is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.5% C 0.164 H 113.7°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#DFEB5D
RGBrgb(223, 235, 93)
HSLhsl(65, 78%, 64%)
HSVhsv(65, 60%, 92%)
CMYKcmyk(5.1%, 0%, 60.4%, 7.8%)
CIE-LABlab(89.81, -22.18, 65.55)
CIE-LCHlch(89.81, 69.20, 108.69°)
OKLaboklab(90.45% -0.066 0.15)
OKLCHoklch(90.45% 0.164 113.7)
XYZxyz(62.1170, 75.8961, 21.7310)
Luminance0.7590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEB5D #695DEB
analogous
#EBB05D #DFEB5D #98EB5D
triadic
#DFEB5D #5DDFEB #EB5DDF
tetradic
#DFEB5D #5DEBB0 #695DEB #EB5D98
square
#DFEB5D #5DEBB0 #695DEB #EB5D98
split-complementary
#DFEB5D #5D98EB #B05DEB
monochromatic
#A9B717 #D4E427 #DFEB5D #EAF293 #F5F8CA

Accessibility & contrast

On white

1.30
#DFEB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#DFEB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEB5D
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEB5D#FFFFFF#000000##000000
##DFEB5D1.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04C
Deuteranopia (green-blind)
#FBE366
Tritanopia (blue-blind)
#EDDECD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfeb5d;
/* rgb */ color: rgb(223, 235, 93);
/* oklch */ color: oklch(90.5% 0.164 113.7);
Tailwind
colors: {
  custom: {
    50: '#ecf191',
    500: '#dfeb5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfeb5d;
$custom-light: #ecf191;
$custom-dark: #000000;
JSON
{
  "hex": "#dfeb5d",
  "rgb": {
    "r": 223,
    "g": 235,
    "b": 93
  },
  "hsl": {
    "h": 65.07,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90451,
    "c": 0.16385,
    "h": 113.7
  },
  "luminance": 0.75895
}

Semantic roles & 50–950 ramp

primary
#DFEB5D
secondary
#4136B7
accent
#0BDA1D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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