#DFEF5F#DFEF5F

#DFEF5F is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.3% C 0.167 H 115.1°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#DFEF5F
RGBrgb(223, 239, 95)
HSLhsl(67, 82%, 65%)
HSVhsv(67, 60%, 94%)
CMYKcmyk(6.7%, 0%, 60.3%, 6.3%)
CIE-LABlab(90.89, -23.96, 65.90)
CIE-LCHlch(90.89, 70.12, 109.98°)
OKLaboklab(91.32% -0.0708 0.151)
OKLCHoklch(91.32% 0.167 115.1)
XYZxyz(63.3649, 78.2482, 22.5897)
Luminance0.7825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF5F #6F5FEF
analogous
#EFB75F #DFEF5F #97EF5F
triadic
#DFEF5F #5FDFEF #EF5FDF
tetradic
#DFEF5F #5FEFB7 #6F5FEF #EF5F97
square
#DFEF5F #5FEFB7 #6F5FEF #EF5F97
split-complementary
#DFEF5F #5F97EF #B75FEF
monochromatic
#ADC013 #D4E927 #DFEF5F #EAF597 #F5FACE

Accessibility & contrast

On white

1.26
#DFEF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#DFEF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF5F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF5F#FFFFFF#000000##000000
##DFEF5F1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44E
Deuteranopia (green-blind)
#FEE668
Tritanopia (blue-blind)
#ECE2D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef5f;
/* rgb */ color: rgb(223, 239, 95);
/* oklch */ color: oklch(91.3% 0.167 115.1);
Tailwind
colors: {
  custom: {
    50: '#ecf492',
    500: '#dfef5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfef5f;
$custom-light: #ecf492;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef5f",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 95
  },
  "hsl": {
    "h": 66.667,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91323,
    "c": 0.16674,
    "h": 115.1
  },
  "luminance": 0.78247
}

Semantic roles & 50–950 ramp

primary
#DFEF5F
secondary
#4334BE
accent
#07DE1F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DFEF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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