#DFC74C#DFC74C

#DFC74C is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.142 H 98.1°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#DFC74C
RGBrgb(223, 199, 76)
HSLhsl(50, 70%, 59%)
HSVhsv(50, 66%, 87%)
CMYKcmyk(0%, 10.8%, 65.9%, 12.5%)
CIE-LABlab(80.21, -5.35, 62.36)
CIE-LCHlch(80.21, 62.59, 94.90°)
OKLaboklab(82.76% -0.0201 0.1408)
OKLCHoklch(82.76% 0.142 98.1)
XYZxyz(52.1617, 57.0591, 15.1020)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC74C #4C64DF
analogous
#DF7D4C #DFC74C #ADDF4C
triadic
#DFC74C #4CDFC7 #C74CDF
tetradic
#DFC74C #4CDF7D #4C64DF #DF4CAD
square
#DFC74C #4CDF7D #4C64DF #DF4CAD
split-complementary
#DFC74C #4CADDF #7D4CDF
monochromatic
#96821B #CAAF24 #DFC74C #E8D780 #F2E7B4

Accessibility & contrast

On white

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

On black

12.41
#DFC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC74C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC74C#FFFFFF#000000##000000
##DFC74C1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23C
Deuteranopia (green-blind)
#E0CB53
Tritanopia (blue-blind)
#F0B9AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc74c;
/* rgb */ color: rgb(223, 199, 76);
/* oklch */ color: oklch(82.8% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#ecd784',
    500: '#dfc74c',
    950: '#000000',
  },
}
SCSS
$custom: #dfc74c;
$custom-light: #ecd784;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc74c",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 50.204,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82762,
    "c": 0.14222,
    "h": 98.1
  },
  "luminance": 0.57057
}

Semantic roles & 50–950 ramp

primary
#DFC74C
secondary
#35469A
accent
#58EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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