#DFC754#DFC754

#DFC754 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.8% C 0.136 H 97.5°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#DFC754
RGBrgb(223, 199, 84)
HSLhsl(50, 68%, 60%)
HSVhsv(50, 62%, 87%)
CMYKcmyk(0%, 10.8%, 62.3%, 12.5%)
CIE-LABlab(80.28, -4.86, 59.03)
CIE-LCHlch(80.28, 59.23, 94.71°)
OKLaboklab(82.84% -0.0178 0.1349)
OKLCHoklch(82.84% 0.136 97.5)
XYZxyz(52.4573, 57.1773, 16.6590)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC754 #546CDF
analogous
#DF8154 #DFC754 #B2DF54
triadic
#DFC754 #54DFC7 #C754DF
tetradic
#DFC754 #54DF81 #546CDF #DF54B2
square
#DFC754 #54DF81 #546CDF #DF54B2
split-complementary
#DFC754 #54B2DF #8154DF
monochromatic
#9C861D #CFB227 #DFC754 #E9D888 #F2E9BB

Accessibility & contrast

On white

1.69
#DFC754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#DFC754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC754
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC754#FFFFFF#000000##000000
##DFC7541.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C247
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#EFB9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc754;
/* rgb */ color: rgb(223, 199, 84);
/* oklch */ color: oklch(82.8% 0.136 97.5);
Tailwind
colors: {
  custom: {
    50: '#ecd789',
    500: '#dfc754',
    950: '#000000',
  },
}
SCSS
$custom: #dfc754;
$custom-light: #ecd789;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc754",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 49.64,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82836,
    "c": 0.1361,
    "h": 97.5
  },
  "luminance": 0.57175
}

Semantic roles & 50–950 ramp

primary
#DFC754
secondary
#384A9F
accent
#35D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC754

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

Preview Lab → · Contrast checker → · Palette generator →

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