#DFEF5B#DFEF5B

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

Color values

HEX#DFEF5B
RGBrgb(223, 239, 91)
HSLhsl(66, 82%, 65%)
HSVhsv(66, 62%, 94%)
CMYKcmyk(6.7%, 0%, 61.9%, 6.3%)
CIE-LABlab(90.86, -24.22, 67.50)
CIE-LCHlch(90.86, 71.71, 109.74°)
OKLaboklab(91.29% -0.0719 0.1538)
OKLCHoklch(91.29% 0.17 115.1)
XYZxyz(63.1877, 78.1773, 21.6566)
Luminance0.7818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF5B #6B5BEF
analogous
#EFB55B #DFEF5B #95EF5B
triadic
#DFEF5B #5BDFEF #EF5BDF
tetradic
#DFEF5B #5BEFB5 #6B5BEF #EF5B95
square
#DFEF5B #5BEFB5 #6B5BEF #EF5B95
split-complementary
#DFEF5B #5B95EF #B55BEF
monochromatic
#ABBD12 #D4EA23 #DFEF5B #EAF493 #F5FACB

Accessibility & contrast

On white

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

On black

16.64
#DFEF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF5B
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF5B#FFFFFF#000000##000000
##DFEF5B1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE448
Deuteranopia (green-blind)
#FEE665
Tritanopia (blue-blind)
#ECE2D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef5b;
/* rgb */ color: rgb(223, 239, 91);
/* oklch */ color: oklch(91.3% 0.170 115.1);
Tailwind
colors: {
  custom: {
    50: '#ecf490',
    500: '#dfef5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfef5b;
$custom-light: #ecf490;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef5b",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 91
  },
  "hsl": {
    "h": 66.486,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91287,
    "c": 0.16981,
    "h": 115.1
  },
  "luminance": 0.78176
}

Semantic roles & 50–950 ramp

primary
#DFEF5B
secondary
#4133BC
accent
#07DF1E
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DFEF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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