#DFEA4C#DFEA4C

#DFEA4C is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.1% C 0.175 H 113.3°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#DFEA4C
RGBrgb(223, 234, 76)
HSLhsl(64, 79%, 61%)
HSVhsv(64, 68%, 92%)
CMYKcmyk(4.7%, 0%, 67.5%, 8.2%)
CIE-LABlab(89.42, -22.73, 71.79)
CIE-LCHlch(89.42, 75.30, 107.57°)
OKLaboklab(90.1% -0.0692 0.1607)
OKLCHoklch(90.1% 0.175 113.3)
XYZxyz(61.1605, 75.0567, 18.1016)
Luminance0.7506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEA4C #574CEA
analogous
#EAA64C #DFEA4C #90EA4C
triadic
#DFEA4C #4CDFEA #EA4CDF
tetradic
#DFEA4C #4CEAA6 #574CEA #EA4C90
square
#DFEA4C #4CEAA6 #574CEA #EA4C90
split-complementary
#DFEA4C #4C90EA #A64CEA
monochromatic
#9EA814 #D1DF1A #DFEA4C #E9F083 #F3F7BA

Accessibility & contrast

On white

1.31
#DFEA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#DFEA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEA4C
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEA4C#FFFFFF#000000##000000
##DFEA4C1.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF33
Deuteranopia (green-blind)
#FBE258
Tritanopia (blue-blind)
#EDDCCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfea4c;
/* rgb */ color: rgb(223, 234, 76);
/* oklch */ color: oklch(90.1% 0.175 113.3);
Tailwind
colors: {
  custom: {
    50: '#ecf087',
    500: '#dfea4c',
    950: '#000000',
  },
}
SCSS
$custom: #dfea4c;
$custom-light: #ecf087;
$custom-dark: #000000;
JSON
{
  "hex": "#dfea4c",
  "rgb": {
    "r": 223,
    "g": 234,
    "b": 76
  },
  "hsl": {
    "h": 64.177,
    "s": 79,
    "l": 60.784
  },
  "oklch": {
    "l": 0.90098,
    "c": 0.17494,
    "h": 113.3
  },
  "luminance": 0.75055
}

Semantic roles & 50–950 ramp

primary
#DFEA4C
secondary
#3931A9
accent
#0ADB19
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DFEA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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