#DFC651#DFC651

#DFC651 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.6% C 0.138 H 97.2°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#DFC651
RGBrgb(223, 198, 81)
HSLhsl(49, 69%, 60%)
HSVhsv(49, 64%, 87%)
CMYKcmyk(0%, 11.2%, 63.7%, 12.5%)
CIE-LABlab(80.00, -4.54, 60.02)
CIE-LCHlch(80.00, 60.19, 94.32°)
OKLaboklab(82.6% -0.0172 0.1366)
OKLCHoklch(82.6% 0.138 97.2)
XYZxyz(52.1130, 56.6727, 15.9769)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC651 #516ADF
analogous
#DF7F51 #DFC651 #B1DF51
triadic
#DFC651 #51DFC6 #C651DF
tetradic
#DFC651 #51DF7F #516ADF #DF51B1
square
#DFC651 #51DF7F #516ADF #DF51B1
split-complementary
#DFC651 #51B1DF #7F51DF
monochromatic
#99831C #CDB026 #DFC651 #E9D785 #F2E8B8

Accessibility & contrast

On white

1.70
#DFC651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#DFC651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC651
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC651#FFFFFF#000000##000000
##DFC6511.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C243
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#F0B8AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc651;
/* rgb */ color: rgb(223, 198, 81);
/* oklch */ color: oklch(82.6% 0.138 97.2);
Tailwind
colors: {
  custom: {
    50: '#ecd787',
    500: '#dfc651',
    950: '#000000',
  },
}
SCSS
$custom: #dfc651;
$custom-light: #ecd787;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc651",
  "rgb": {
    "r": 223,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 49.437,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82603,
    "c": 0.13768,
    "h": 97.2
  },
  "luminance": 0.5667
}

Semantic roles & 50–950 ramp

primary
#DFC651
secondary
#37499D
accent
#5BEC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC651

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

Preview Lab → · Contrast checker → · Palette generator →

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