#DFC962#DFC962

#DFC962 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.126 H 97.4°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#DFC962
RGBrgb(223, 201, 98)
HSLhsl(49, 66%, 63%)
HSVhsv(49, 56%, 87%)
CMYKcmyk(0%, 9.9%, 56.1%, 12.5%)
CIE-LABlab(80.93, -4.91, 53.44)
CIE-LCHlch(80.93, 53.67, 95.25°)
OKLaboklab(83.4% -0.0163 0.1247)
OKLCHoklch(83.4% 0.126 97.4)
XYZxyz(53.5247, 58.3454, 19.9953)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC962 #6278DF
analogous
#DF8A62 #DFC962 #B6DF62
triadic
#DFC962 #62DFC9 #C962DF
tetradic
#DFC962 #62DF8A #6278DF #DF62B6
square
#DFC962 #62DF8A #6278DF #DF62B6
split-complementary
#DFC962 #62B6DF #8A62DF
monochromatic
#A58E22 #D5B82F #DFC962 #E9DA95 #F4ECC8

Accessibility & contrast

On white

1.66
#DFC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#DFC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC962
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC962#FFFFFF#000000##000000
##DFC9621.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC558
Deuteranopia (green-blind)
#E0CC67
Tritanopia (blue-blind)
#EFBCB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc962;
/* rgb */ color: rgb(223, 201, 98);
/* oklch */ color: oklch(83.4% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#ecd992',
    500: '#dfc962',
    950: '#000000',
  },
}
SCSS
$custom: #dfc962;
$custom-light: #ecd992;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc962",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 49.44,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83395,
    "c": 0.12577,
    "h": 97.4
  },
  "luminance": 0.58343
}

Semantic roles & 50–950 ramp

primary
#DFC962
secondary
#3E50A8
accent
#38CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC962

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

Preview Lab → · Contrast checker → · Palette generator →

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