#DFEF5A#DFEF5A

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

Color values

HEX#DFEF5A
RGBrgb(223, 239, 90)
HSLhsl(66, 82%, 65%)
HSVhsv(66, 62%, 94%)
CMYKcmyk(6.7%, 0%, 62.3%, 6.3%)
CIE-LABlab(90.85, -24.29, 67.89)
CIE-LCHlch(90.85, 72.10, 109.69°)
OKLaboklab(91.28% -0.0722 0.1545)
OKLCHoklch(91.28% 0.171 115)
XYZxyz(63.1449, 78.1602, 21.4309)
Luminance0.7816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF5A #6A5AEF
analogous
#EFB55A #DFEF5A #95EF5A
triadic
#DFEF5A #5ADFEF #EF5ADF
tetradic
#DFEF5A #5AEFB5 #6A5AEF #EF5A95
square
#DFEF5A #5AEFB5 #6A5AEF #EF5A95
split-complementary
#DFEF5A #5A95EF #B55AEF
monochromatic
#AABC12 #D4EA22 #DFEF5A #EAF492 #F5FACA

Accessibility & contrast

On white

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

On black

16.63
#DFEF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF5A
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF5A#FFFFFF#000000##000000
##DFEF5A1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfef5a;
/* rgb */ color: rgb(223, 239, 90);
/* oklch */ color: oklch(91.3% 0.171 115.0);
Tailwind
colors: {
  custom: {
    50: '#ecf48f',
    500: '#dfef5a',
    950: '#000000',
  },
}
SCSS
$custom: #dfef5a;
$custom-light: #ecf48f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef5a",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 90
  },
  "hsl": {
    "h": 66.443,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91278,
    "c": 0.17056,
    "h": 115
  },
  "luminance": 0.78159
}

Semantic roles & 50–950 ramp

primary
#DFEF5A
secondary
#4132BB
accent
#07DF1E
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DFEF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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