#DFEA4F#DFEA4F

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

Color values

HEX#DFEA4F
RGBrgb(223, 234, 79)
HSLhsl(64, 79%, 61%)
HSVhsv(64, 66%, 92%)
CMYKcmyk(4.7%, 0%, 66.2%, 8.2%)
CIE-LABlab(89.44, -22.56, 70.69)
CIE-LCHlch(89.44, 74.21, 107.70°)
OKLaboklab(90.12% -0.0684 0.1589)
OKLCHoklch(90.12% 0.173 113.3)
XYZxyz(61.2672, 75.0994, 18.6638)
Luminance0.7510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEA4F #5A4FEA
analogous
#EAA84F #DFEA4F #92EA4F
triadic
#DFEA4F #4FDFEA #EA4FDF
tetradic
#DFEA4F #4FEAA8 #5A4FEA #EA4F92
square
#DFEA4F #4FEAA8 #5A4FEA #EA4F92
split-complementary
#DFEA4F #4F92EA #A84FEA
monochromatic
#A0AA14 #D3E11B #DFEA4F #E9F186 #F3F7BC

Accessibility & contrast

On white

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

On black

16.02
#DFEA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEA4F
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEA4F#FFFFFF#000000##000000
##DFEA4F1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF38
Deuteranopia (green-blind)
#FBE25A
Tritanopia (blue-blind)
#EDDDCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfea4f;
/* rgb */ color: rgb(223, 234, 79);
/* oklch */ color: oklch(90.1% 0.173 113.3);
Tailwind
colors: {
  custom: {
    50: '#ecf088',
    500: '#dfea4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfea4f;
$custom-light: #ecf088;
$custom-dark: #000000;
JSON
{
  "hex": "#dfea4f",
  "rgb": {
    "r": 223,
    "g": 234,
    "b": 79
  },
  "hsl": {
    "h": 64.258,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.9012,
    "c": 0.17297,
    "h": 113.3
  },
  "luminance": 0.75098
}

Semantic roles & 50–950 ramp

primary
#DFEA4F
secondary
#3A32AC
accent
#0BDB19
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DFEA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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