#DFC851#DFC851

#DFC851 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.139 H 98.3°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DFC851
RGBrgb(223, 200, 81)
HSLhsl(50, 69%, 60%)
HSVhsv(50, 64%, 87%)
CMYKcmyk(0%, 10.3%, 63.7%, 12.5%)
CIE-LABlab(80.51, -5.56, 60.57)
CIE-LCHlch(80.51, 60.83, 95.25°)
OKLaboklab(83.01% -0.0201 0.1378)
OKLCHoklch(83.01% 0.139 98.3)
XYZxyz(52.5732, 57.5930, 16.1303)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC851 #5168DF
analogous
#DF8151 #DFC851 #AFDF51
triadic
#DFC851 #51DFC8 #C851DF
tetradic
#DFC851 #51DF81 #5168DF #DF51AF
square
#DFC851 #51DF81 #5168DF #DF51AF
split-complementary
#DFC851 #51AFDF #8151DF
monochromatic
#99851C #CDB226 #DFC851 #E9D885 #F2E9B8

Accessibility & contrast

On white

1.68
#DFC851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#DFC851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC851
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC851#FFFFFF#000000##000000
##DFC8511.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#E1CB57
Tritanopia (blue-blind)
#F0BAAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc851;
/* rgb */ color: rgb(223, 200, 81);
/* oklch */ color: oklch(83.0% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#ecd887',
    500: '#dfc851',
    950: '#000000',
  },
}
SCSS
$custom: #dfc851;
$custom-light: #ecd887;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc851",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 50.282,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83012,
    "c": 0.13925,
    "h": 98.3
  },
  "luminance": 0.57591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC851

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

Preview Lab → · Contrast checker → · Palette generator →

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