#DFC551#DFC551

#DFC551 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.4% C 0.137 H 96.6°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#DFC551
RGBrgb(223, 197, 81)
HSLhsl(49, 69%, 60%)
HSVhsv(49, 64%, 87%)
CMYKcmyk(0%, 11.7%, 63.7%, 12.5%)
CIE-LABlab(79.74, -4.02, 59.74)
CIE-LCHlch(79.74, 59.88, 93.85°)
OKLaboklab(82.4% -0.0157 0.136)
OKLCHoklch(82.4% 0.137 96.6)
XYZxyz(51.8852, 56.2171, 15.9010)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC551 #516BDF
analogous
#DF7E51 #DFC551 #B2DF51
triadic
#DFC551 #51DFC5 #C551DF
tetradic
#DFC551 #51DF7E #516BDF #DF51B2
square
#DFC551 #51DF7E #516BDF #DF51B2
split-complementary
#DFC551 #51B2DF #7E51DF
monochromatic
#99821C #CDAE26 #DFC551 #E9D685 #F2E7B8

Accessibility & contrast

On white

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

On black

12.24
#DFC551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC551
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC551#FFFFFF#000000##000000
##DFC5511.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#F0B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc551;
/* rgb */ color: rgb(223, 197, 81);
/* oklch */ color: oklch(82.4% 0.137 96.6);
Tailwind
colors: {
  custom: {
    50: '#ecd687',
    500: '#dfc551',
    950: '#000000',
  },
}
SCSS
$custom: #dfc551;
$custom-light: #ecd687;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc551",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 49.014,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.13692,
    "h": 96.6
  },
  "luminance": 0.56215
}

Semantic roles & 50–950 ramp

primary
#DFC551
secondary
#374A9D
accent
#5CEC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC551

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

Preview Lab → · Contrast checker → · Palette generator →

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