#DFEB5F#DFEB5F

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

Color values

HEX#DFEB5F
RGBrgb(223, 235, 95)
HSLhsl(65, 78%, 65%)
HSVhsv(65, 60%, 92%)
CMYKcmyk(5.1%, 0%, 59.6%, 7.8%)
CIE-LABlab(89.83, -22.04, 64.74)
CIE-LCHlch(89.83, 68.39, 108.80°)
OKLaboklab(90.47% -0.0654 0.1485)
OKLCHoklch(90.47% 0.162 113.8)
XYZxyz(62.2068, 75.9320, 22.2036)
Luminance0.7593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEB5F #6B5FEB
analogous
#EBB15F #DFEB5F #99EB5F
triadic
#DFEB5F #5FDFEB #EB5FDF
tetradic
#DFEB5F #5FEBB1 #6B5FEB #EB5F99
square
#DFEB5F #5FEBB1 #6B5FEB #EB5F99
split-complementary
#DFEB5F #5F99EB #B15FEB
monochromatic
#ABB917 #D4E429 #DFEB5F #EAF295 #F5F9CC

Accessibility & contrast

On white

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

On black

16.19
#DFEB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEB5F
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEB5F#FFFFFF#000000##000000
##DFEB5F1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE04F
Deuteranopia (green-blind)
#FAE368
Tritanopia (blue-blind)
#ECDECD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dfeb5f;
/* rgb */ color: rgb(223, 235, 95);
/* oklch */ color: oklch(90.5% 0.162 113.8);
Tailwind
colors: {
  custom: {
    50: '#ecf192',
    500: '#dfeb5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfeb5f;
$custom-light: #ecf192;
$custom-dark: #000000;
JSON
{
  "hex": "#dfeb5f",
  "rgb": {
    "r": 223,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 65.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.9047,
    "c": 0.16228,
    "h": 113.8
  },
  "luminance": 0.75931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFEB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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