#DFEA5B#DFEA5B

#DFEA5B is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.2% C 0.164 H 113.4°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#DFEA5B
RGBrgb(223, 234, 91)
HSLhsl(65, 77%, 64%)
HSVhsv(65, 61%, 92%)
CMYKcmyk(4.7%, 0%, 61.1%, 8.2%)
CIE-LABlab(89.53, -21.83, 66.07)
CIE-LCHlch(89.53, 69.58, 108.28°)
OKLaboklab(90.22% -0.0652 0.1508)
OKLCHoklch(90.22% 0.164 113.4)
XYZxyz(61.7441, 75.2901, 21.1754)
Luminance0.7529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEA5B #665BEA
analogous
#EAAD5B #DFEA5B #97EA5B
triadic
#DFEA5B #5BDFEA #EA5BDF
tetradic
#DFEA5B #5BEAAD #665BEA #EA5B97
square
#DFEA5B #5BEAAD #665BEA #EA5B97
split-complementary
#DFEA5B #5B97EA #AD5BEA
monochromatic
#A8B417 #D4E325 #DFEA5B #EAF191 #F4F8C8

Accessibility & contrast

On white

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

On black

16.06
#DFEA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEA5B
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEA5B#FFFFFF#000000##000000
##DFEA5B1.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE04A
Deuteranopia (green-blind)
#FAE364
Tritanopia (blue-blind)
#EDDDCC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dfea5b;
/* rgb */ color: rgb(223, 234, 91);
/* oklch */ color: oklch(90.2% 0.164 113.4);
Tailwind
colors: {
  custom: {
    50: '#ecf08f',
    500: '#dfea5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfea5b;
$custom-light: #ecf08f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfea5b",
  "rgb": {
    "r": 223,
    "g": 234,
    "b": 91
  },
  "hsl": {
    "h": 64.615,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.9022,
    "c": 0.16431,
    "h": 113.4
  },
  "luminance": 0.75289
}

Semantic roles & 50–950 ramp

primary
#DFEA5B
secondary
#3F36B4
accent
#0CDA1C
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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