#DFEC62#DFEC62

#DFEC62 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 90.7% C 0.161 H 114.1°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#DFEC62
RGBrgb(223, 236, 98)
HSLhsl(66, 78%, 65%)
HSVhsv(66, 58%, 93%)
CMYKcmyk(5.5%, 0%, 58.5%, 7.5%)
CIE-LABlab(90.12, -22.31, 63.80)
CIE-LCHlch(90.12, 67.59, 109.27°)
OKLaboklab(90.71% -0.0659 0.1469)
OKLCHoklch(90.71% 0.161 114.1)
XYZxyz(62.6329, 76.5618, 23.0314)
Luminance0.7656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC62 #6F62EC
analogous
#ECB462 #DFEC62 #9AEC62
triadic
#DFEC62 #62DFEC #EC62DF
tetradic
#DFEC62 #62ECB4 #6F62EC #EC629A
square
#DFEC62 #62ECB4 #6F62EC #EC629A
split-complementary
#DFEC62 #629AEC #B462EC
monochromatic
#ADBD17 #D4E52B #DFEC62 #EAF399 #F5F9CF

Accessibility & contrast

On white

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

On black

16.31
#DFEC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC62
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC62#FFFFFF#000000##000000
##DFEC621.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE152
Deuteranopia (green-blind)
#FBE46B
Tritanopia (blue-blind)
#ECDFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfec62;
/* rgb */ color: rgb(223, 236, 98);
/* oklch */ color: oklch(90.7% 0.161 114.1);
Tailwind
colors: {
  custom: {
    50: '#ecf294',
    500: '#dfec62',
    950: '#000000',
  },
}
SCSS
$custom: #dfec62;
$custom-light: #ecf294;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec62",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 98
  },
  "hsl": {
    "h": 65.652,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90712,
    "c": 0.16097,
    "h": 114.1
  },
  "luminance": 0.76561
}

Semantic roles & 50–950 ramp

primary
#DFEC62
secondary
#4337BC
accent
#0BDB1E
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160D
muted
#85857F

Preview Lab

Preview with #DFEC62

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

Preview Lab → · Contrast checker → · Palette generator →

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