#DFD851#DFD851

#DFD851 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.3% C 0.153 H 106.3°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#DFD851
RGBrgb(223, 216, 81)
HSLhsl(57, 69%, 60%)
HSVhsv(57, 64%, 87%)
CMYKcmyk(0%, 3.1%, 63.7%, 12.5%)
CIE-LABlab(84.69, -13.65, 65.00)
CIE-LCHlch(84.69, 66.42, 101.86°)
OKLaboklab(86.33% -0.0432 0.1472)
OKLCHoklch(86.33% 0.153 106.3)
XYZxyz(56.4745, 65.3957, 17.4308)
Luminance0.6539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD851 #5158DF
analogous
#DF9151 #DFD851 #9FDF51
triadic
#DFD851 #51DFD8 #D851DF
tetradic
#DFD851 #51DF91 #5158DF #DF519F
square
#DFD851 #51DF91 #5158DF #DF519F
split-complementary
#DFD851 #519FDF #9151DF
monochromatic
#99931C #CDC526 #DFD851 #E9E485 #F2EFB8

Accessibility & contrast

On white

1.49
#DFD851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#DFD851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD851
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD851#FFFFFF#000000##000000
##DFD8511.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#EECABC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd851;
/* rgb */ color: rgb(223, 216, 81);
/* oklch */ color: oklch(86.3% 0.153 106.3);
Tailwind
colors: {
  custom: {
    50: '#ece388',
    500: '#dfd851',
    950: '#000000',
  },
}
SCSS
$custom: #dfd851;
$custom-light: #ece388;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd851",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 81
  },
  "hsl": {
    "h": 57.042,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86329,
    "c": 0.15335,
    "h": 106.3
  },
  "luminance": 0.65394
}

Semantic roles & 50–950 ramp

primary
#DFD851
secondary
#373C9D
accent
#45EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD851

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

Preview Lab → · Contrast checker → · Palette generator →

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