#DFC462#DFC462

#DFC462 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.4% C 0.122 H 94.2°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#DFC462
RGBrgb(223, 196, 98)
HSLhsl(47, 66%, 63%)
HSVhsv(47, 56%, 87%)
CMYKcmyk(0%, 12.1%, 56.1%, 12.5%)
CIE-LABlab(79.64, -2.33, 51.95)
CIE-LCHlch(79.64, 52.00, 92.57°)
OKLaboklab(82.38% -0.0089 0.1215)
OKLCHoklch(82.38% 0.122 94.2)
XYZxyz(52.3780, 56.0521, 19.6131)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC462 #627DDF
analogous
#DF8562 #DFC462 #BBDF62
triadic
#DFC462 #62DFC4 #C462DF
tetradic
#DFC462 #62DF85 #627DDF #DF62BB
square
#DFC462 #62DF85 #627DDF #DF62BB
split-complementary
#DFC462 #62BBDF #8562DF
monochromatic
#A58922 #D5B12F #DFC462 #E9D795 #F4EAC8

Accessibility & contrast

On white

1.72
#DFC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#DFC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC462
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC462#FFFFFF#000000##000000
##DFC4621.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C159
Deuteranopia (green-blind)
#DCC966
Tritanopia (blue-blind)
#EFB7AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc462;
/* rgb */ color: rgb(223, 196, 98);
/* oklch */ color: oklch(82.4% 0.122 94.2);
Tailwind
colors: {
  custom: {
    50: '#ecd591',
    500: '#dfc462',
    950: '#000000',
  },
}
SCSS
$custom: #dfc462;
$custom-light: #ecd591;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc462",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 47.04,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82377,
    "c": 0.12182,
    "h": 94.2
  },
  "luminance": 0.5605
}

Semantic roles & 50–950 ramp

primary
#DFC462
secondary
#3E54A8
accent
#3FCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC462

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

Preview Lab → · Contrast checker → · Palette generator →

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