#DFEF5C#DFEF5C

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

Color values

HEX#DFEF5C
RGBrgb(223, 239, 92)
HSLhsl(67, 82%, 65%)
HSVhsv(67, 62%, 94%)
CMYKcmyk(6.7%, 0%, 61.5%, 6.3%)
CIE-LABlab(90.87, -24.16, 67.10)
CIE-LCHlch(90.87, 71.32, 109.80°)
OKLaboklab(91.3% -0.0716 0.1531)
OKLCHoklch(91.3% 0.169 115.1)
XYZxyz(63.2311, 78.1947, 21.8853)
Luminance0.7819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF5C #6C5CEF
analogous
#EFB65C #DFEF5C #95EF5C
triadic
#DFEF5C #5CDFEF #EF5CDF
tetradic
#DFEF5C #5CEFB6 #6C5CEF #EF5C95
square
#DFEF5C #5CEFB6 #6C5CEF #EF5C95
split-complementary
#DFEF5C #5C95EF #B65CEF
monochromatic
#ABBE13 #D4EA24 #DFEF5C #EAF494 #F5FACB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFEF5C#FFFFFF#000000##000000
##DFEF5C1.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)
#FFE44A
Deuteranopia (green-blind)
#FEE666
Tritanopia (blue-blind)
#ECE2D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dfef5c;
/* rgb */ color: rgb(223, 239, 92);
/* oklch */ color: oklch(91.3% 0.169 115.1);
Tailwind
colors: {
  custom: {
    50: '#ecf490',
    500: '#dfef5c',
    950: '#000000',
  },
}
SCSS
$custom: #dfef5c;
$custom-light: #ecf490;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef5c",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 92
  },
  "hsl": {
    "h": 66.531,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91296,
    "c": 0.16906,
    "h": 115.1
  },
  "luminance": 0.78194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFEF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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