#DFC74D#DFC74D

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

Color values

HEX#DFC74D
RGBrgb(223, 199, 77)
HSLhsl(50, 70%, 59%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 10.8%, 65.5%, 12.5%)
CIE-LABlab(80.22, -5.29, 61.95)
CIE-LCHlch(80.22, 62.18, 94.88°)
OKLaboklab(82.77% -0.0198 0.1401)
OKLCHoklch(82.77% 0.141 98.1)
XYZxyz(52.1967, 57.0731, 15.2866)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC74D #4D65DF
analogous
#DF7E4D #DFC74D #AEDF4D
triadic
#DFC74D #4DDFC7 #C74DDF
tetradic
#DFC74D #4DDF7E #4D65DF #DF4DAE
square
#DFC74D #4DDF7E #4D65DF #DF4DAE
split-complementary
#DFC74D #4DAEDF #7E4DDF
monochromatic
#97821B #CAAF24 #DFC74D #E8D781 #F2E8B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC74D#FFFFFF#000000##000000
##DFC74D1.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)
#DAC23E
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#F0B9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc74d;
/* rgb */ color: rgb(223, 199, 77);
/* oklch */ color: oklch(82.8% 0.141 98.1);
Tailwind
colors: {
  custom: {
    50: '#ecd784',
    500: '#dfc74d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc74d;
$custom-light: #ecd784;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc74d",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 77
  },
  "hsl": {
    "h": 50.137,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82771,
    "c": 0.14149,
    "h": 98.1
  },
  "luminance": 0.57071
}

Semantic roles & 50–950 ramp

primary
#DFC74D
secondary
#35469B
accent
#59EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC74D

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

Preview Lab → · Contrast checker → · Palette generator →

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