#DFC951#DFC951

#DFC951 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.140 H 98.9°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#DFC951
RGBrgb(223, 201, 81)
HSLhsl(51, 69%, 60%)
HSVhsv(51, 64%, 87%)
CMYKcmyk(0%, 9.9%, 63.7%, 12.5%)
CIE-LABlab(80.77, -6.08, 60.85)
CIE-LCHlch(80.77, 61.15, 95.70°)
OKLaboklab(83.22% -0.0216 0.1384)
OKLCHoklch(83.22% 0.14 98.9)
XYZxyz(52.8055, 58.0577, 16.2078)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC951 #5167DF
analogous
#DF8251 #DFC951 #AEDF51
triadic
#DFC951 #51DFC9 #C951DF
tetradic
#DFC951 #51DF82 #5167DF #DF51AE
square
#DFC951 #51DF82 #5167DF #DF51AE
split-complementary
#DFC951 #51AEDF #8251DF
monochromatic
#99861C #CDB326 #DFC951 #E9D985 #F2E9B8

Accessibility & contrast

On white

1.67
#DFC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#DFC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC951
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC951#FFFFFF#000000##000000
##DFC9511.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#EFBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc951;
/* rgb */ color: rgb(223, 201, 81);
/* oklch */ color: oklch(83.2% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#ecd987',
    500: '#dfc951',
    950: '#000000',
  },
}
SCSS
$custom: #dfc951;
$custom-light: #ecd987;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc951",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 50.704,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83217,
    "c": 0.14005,
    "h": 98.9
  },
  "luminance": 0.58055
}

Semantic roles & 50–950 ramp

primary
#DFC951
secondary
#37479D
accent
#57EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC951

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

Preview Lab → · Contrast checker → · Palette generator →

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