#DFEC5B#DFEC5B

#DFEC5B is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.6% C 0.166 H 114.1°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#DFEC5B
RGBrgb(223, 236, 91)
HSLhsl(65, 79%, 64%)
HSVhsv(65, 61%, 93%)
CMYKcmyk(5.5%, 0%, 61.4%, 7.5%)
CIE-LABlab(90.06, -22.79, 66.64)
CIE-LCHlch(90.06, 70.43, 108.88°)
OKLaboklab(90.65% -0.0679 0.152)
OKLCHoklch(90.65% 0.166 114.1)
XYZxyz(62.3167, 76.4353, 21.3662)
Luminance0.7643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC5B #685BEC
analogous
#ECB15B #DFEC5B #97EC5B
triadic
#DFEC5B #5BDFEC #EC5BDF
tetradic
#DFEC5B #5BECB1 #685BEC #EC5B97
square
#DFEC5B #5BECB1 #685BEC #EC5B97
split-complementary
#DFEC5B #5B97EC #B15BEC
monochromatic
#A9B715 #D4E624 #DFEC5B #EAF292 #F4F9C9

Accessibility & contrast

On white

1.29
#DFEC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#DFEC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC5B
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC5B#FFFFFF#000000##000000
##DFEC5B1.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE149
Deuteranopia (green-blind)
#FCE464
Tritanopia (blue-blind)
#EDDFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec5b;
/* rgb */ color: rgb(223, 236, 91);
/* oklch */ color: oklch(90.6% 0.166 114.1);
Tailwind
colors: {
  custom: {
    50: '#ecf28f',
    500: '#dfec5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfec5b;
$custom-light: #ecf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec5b",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 65.379,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90646,
    "c": 0.16649,
    "h": 114.1
  },
  "luminance": 0.76434
}

Semantic roles & 50–950 ramp

primary
#DFEC5B
secondary
#4034B7
accent
#0ADC1D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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