#DFD462#DFD462

#DFD462 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.7% C 0.136 H 103.8°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#DFD462
RGBrgb(223, 212, 98)
HSLhsl(55, 66%, 63%)
HSVhsv(55, 56%, 87%)
CMYKcmyk(0%, 4.9%, 56.1%, 12.5%)
CIE-LABlab(83.79, -10.50, 56.71)
CIE-LCHlch(83.79, 57.68, 100.49°)
OKLaboklab(85.66% -0.0323 0.1318)
OKLCHoklch(85.66% 0.136 103.8)
XYZxyz(56.1813, 63.6587, 20.8809)
Luminance0.6366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD462 #626DDF
analogous
#DF9562 #DFD462 #ABDF62
triadic
#DFD462 #62DFD4 #D462DF
tetradic
#DFD462 #62DF95 #626DDF #DF62AB
square
#DFD462 #62DF95 #626DDF #DF62AB
split-complementary
#DFD462 #62ABDF #9562DF
monochromatic
#A59922 #D5C62F #DFD462 #E9E295 #F4F0C8

Accessibility & contrast

On white

1.53
#DFD462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#DFD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD462
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD462#FFFFFF#000000##000000
##DFD4621.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#E8D468
Tritanopia (blue-blind)
#EEC7BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd462;
/* rgb */ color: rgb(223, 212, 98);
/* oklch */ color: oklch(85.7% 0.136 103.8);
Tailwind
colors: {
  custom: {
    50: '#ece192',
    500: '#dfd462',
    950: '#000000',
  },
}
SCSS
$custom: #dfd462;
$custom-light: #ece192;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd462",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 54.72,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85662,
    "c": 0.13567,
    "h": 103.8
  },
  "luminance": 0.63657
}

Semantic roles & 50–950 ramp

primary
#DFD462
secondary
#3E47A8
accent
#28CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD462

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

Preview Lab → · Contrast checker → · Palette generator →

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