#DFEC7A#DFEC7A

#DFEC7A is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.0% C 0.139 H 114.6°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#DFEC7A
RGBrgb(223, 236, 122)
HSLhsl(67, 75%, 70%)
HSVhsv(67, 48%, 93%)
CMYKcmyk(5.5%, 0%, 48.3%, 7.5%)
CIE-LABlab(90.36, -20.34, 53.36)
CIE-LCHlch(90.36, 57.10, 110.87°)
OKLaboklab(90.98% -0.058 0.1268)
OKLCHoklch(90.98% 0.139 114.6)
XYZxyz(63.9407, 77.0849, 29.9191)
Luminance0.7708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC7A #877AEC
analogous
#ECC07A #DFEC7A #A6EC7A
triadic
#DFEC7A #7ADFEC #EC7ADF
tetradic
#DFEC7A #7AECC0 #877AEC #EC7AA6
square
#DFEC7A #7AECC0 #877AEC #EC7AA6
split-complementary
#DFEC7A #7AA6EC #C07AEC
monochromatic
#BACE1D #D2E444 #DFEC7A #ECF4B0 #F9FBE4

Accessibility & contrast

On white

1.28
#DFEC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#DFEC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC7A
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC7A#FFFFFF#000000##000000
##DFEC7A1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE270
Deuteranopia (green-blind)
#F9E580
Tritanopia (blue-blind)
#EBE1D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec7a;
/* rgb */ color: rgb(223, 236, 122);
/* oklch */ color: oklch(91.0% 0.139 114.6);
Tailwind
colors: {
  custom: {
    50: '#ebf2a3',
    500: '#dfec7a',
    950: '#000000',
  },
}
SCSS
$custom: #dfec7a;
$custom-light: #ebf2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec7a",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 122
  },
  "hsl": {
    "h": 66.842,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90982,
    "c": 0.13938,
    "h": 114.6
  },
  "luminance": 0.77084
}

Semantic roles & 50–950 ramp

primary
#DFEC7A
secondary
#5445C5
accent
#0ED725
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DFEC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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