#DFD062#DFD062

#DFD062 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.132 H 101.6°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#DFD062
RGBrgb(223, 208, 98)
HSLhsl(53, 66%, 63%)
HSVhsv(53, 56%, 87%)
CMYKcmyk(0%, 6.7%, 56.1%, 12.5%)
CIE-LABlab(82.74, -8.48, 55.52)
CIE-LCHlch(82.74, 56.17, 98.68°)
OKLaboklab(84.83% -0.0266 0.1292)
OKLCHoklch(84.83% 0.132 101.6)
XYZxyz(55.1938, 61.6836, 20.5517)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD062 #6271DF
analogous
#DF9162 #DFD062 #AFDF62
triadic
#DFD062 #62DFD0 #D062DF
tetradic
#DFD062 #62DF91 #6271DF #DF62AF
square
#DFD062 #62DF91 #6271DF #DF62AF
split-complementary
#DFD062 #62AFDF #9162DF
monochromatic
#A59522 #D5C12F #DFD062 #E9DF95 #F4EEC8

Accessibility & contrast

On white

1.57
#DFD062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#DFD062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD062
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD062#FFFFFF#000000##000000
##DFD0621.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA57
Deuteranopia (green-blind)
#E5D167
Tritanopia (blue-blind)
#EEC3B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd062;
/* rgb */ color: rgb(223, 208, 98);
/* oklch */ color: oklch(84.8% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#ecde92',
    500: '#dfd062',
    950: '#000000',
  },
}
SCSS
$custom: #dfd062;
$custom-light: #ecde92;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd062",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 52.8,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84833,
    "c": 0.1319,
    "h": 101.6
  },
  "luminance": 0.61682
}

Semantic roles & 50–950 ramp

primary
#DFD062
secondary
#3E4AA8
accent
#2DCE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD062

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

Preview Lab → · Contrast checker → · Palette generator →

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