#DFEC7B#DFEC7B

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

Color values

HEX#DFEC7B
RGBrgb(223, 236, 123)
HSLhsl(67, 75%, 70%)
HSVhsv(67, 48%, 93%)
CMYKcmyk(5.5%, 0%, 47.9%, 7.5%)
CIE-LABlab(90.37, -20.25, 52.90)
CIE-LCHlch(90.37, 56.64, 110.94°)
OKLaboklab(91% -0.0576 0.1259)
OKLCHoklch(91% 0.138 114.6)
XYZxyz(64.0029, 77.1098, 30.2471)
Luminance0.7711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC7B #887BEC
analogous
#ECC17B #DFEC7B #A6EC7B
triadic
#DFEC7B #7BDFEC #EC7BDF
tetradic
#DFEC7B #7BECC1 #887BEC #EC7BA6
square
#DFEC7B #7BECC1 #887BEC #EC7BA6
split-complementary
#DFEC7B #7BA6EC #C17BEC
monochromatic
#BACF1E #D2E446 #DFEC7B #ECF4B0 #F9FBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFEC7B#FFFFFF#000000##000000
##DFEC7B1.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)
#FAE271
Deuteranopia (green-blind)
#F9E581
Tritanopia (blue-blind)
#EAE1D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec7b;
/* rgb */ color: rgb(223, 236, 123);
/* oklch */ color: oklch(91.0% 0.138 114.6);
Tailwind
colors: {
  custom: {
    50: '#ebf2a3',
    500: '#dfec7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfec7b;
$custom-light: #ebf2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec7b",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 123
  },
  "hsl": {
    "h": 66.903,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90995,
    "c": 0.13841,
    "h": 114.6
  },
  "luminance": 0.77109
}

Semantic roles & 50–950 ramp

primary
#DFEC7B
secondary
#5546C5
accent
#0FD726
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DFEC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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