#DFEC5A#DFEC5A

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

Color values

HEX#DFEC5A
RGBrgb(223, 236, 90)
HSLhsl(65, 79%, 64%)
HSVhsv(65, 62%, 93%)
CMYKcmyk(5.5%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.05, -22.86, 67.04)
CIE-LCHlch(90.05, 70.83, 108.83°)
OKLaboklab(90.64% -0.0682 0.1527)
OKLCHoklch(90.64% 0.167 114.1)
XYZxyz(62.2739, 76.4182, 21.1406)
Luminance0.7642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC5A #675AEC
analogous
#ECB05A #DFEC5A #96EC5A
triadic
#DFEC5A #5ADFEC #EC5ADF
tetradic
#DFEC5A #5AECB0 #675AEC #EC5A96
square
#DFEC5A #5AECB0 #675AEC #EC5A96
split-complementary
#DFEC5A #5A96EC #B05AEC
monochromatic
#A8B715 #D4E623 #DFEC5A #EAF291 #F4F9C8

Accessibility & contrast

On white

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

On black

16.28
#DFEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC5A
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC5A#FFFFFF#000000##000000
##DFEC5A1.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfec5a;
/* rgb */ color: rgb(223, 236, 90);
/* oklch */ color: oklch(90.6% 0.167 114.1);
Tailwind
colors: {
  custom: {
    50: '#ecf28f',
    500: '#dfec5a',
    950: '#000000',
  },
}
SCSS
$custom: #dfec5a;
$custom-light: #ecf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec5a",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 65.342,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90637,
    "c": 0.16726,
    "h": 114.1
  },
  "luminance": 0.76417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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