#DFDF62#DFDF62

#DFDF62 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.0% C 0.147 H 109.1°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#DFDF62
RGBrgb(223, 223, 98)
HSLhsl(60, 66%, 63%)
HSVhsv(60, 56%, 87%)
CMYKcmyk(0%, 0%, 56.1%, 12.5%)
CIE-LABlab(86.68, -15.98, 59.97)
CIE-LCHlch(86.68, 62.07, 104.92°)
OKLaboklab(87.96% -0.048 0.1387)
OKLCHoklch(87.96% 0.147 109.1)
XYZxyz(59.0253, 69.3467, 21.8289)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF62 #6262DF
analogous
#DFA062 #DFDF62 #A0DF62
triadic
#DFDF62 #62DFDF #DF62DF
tetradic
#DFDF62 #62DFA0 #6262DF #DF62A0
square
#DFDF62 #62DFA0 #6262DF #DF62A0
split-complementary
#DFDF62 #62A0DF #A062DF
monochromatic
#A5A522 #D5D52F #DFDF62 #E9E995 #F4F4C8

Accessibility & contrast

On white

1.41
#DFDF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#DFDF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF62
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF62#FFFFFF#000000##000000
##DFDF621.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD755
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#EDD2C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf62;
/* rgb */ color: rgb(223, 223, 98);
/* oklch */ color: oklch(88.0% 0.147 109.1);
Tailwind
colors: {
  custom: {
    50: '#ece893',
    500: '#dfdf62',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf62;
$custom-light: #ece893;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf62",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8796,
    "c": 0.14679,
    "h": 109.1
  },
  "luminance": 0.69345
}

Semantic roles & 50–950 ramp

primary
#DFDF62
secondary
#3E3EA8
accent
#17CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DFDF62

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

Preview Lab → · Contrast checker → · Palette generator →

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