#DFC94D#DFC94D

#DFC94D is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.143 H 99.2°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DFC94D
RGBrgb(223, 201, 77)
HSLhsl(51, 70%, 59%)
HSVhsv(51, 65%, 87%)
CMYKcmyk(0%, 9.9%, 65.5%, 12.5%)
CIE-LABlab(80.74, -6.32, 62.49)
CIE-LCHlch(80.74, 62.81, 95.77°)
OKLaboklab(83.18% -0.0227 0.1412)
OKLCHoklch(83.18% 0.143 99.2)
XYZxyz(52.6599, 57.9995, 15.4410)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC94D #4D63DF
analogous
#DF804D #DFC94D #ACDF4D
triadic
#DFC94D #4DDFC9 #C94DDF
tetradic
#DFC94D #4DDF80 #4D63DF #DF4DAC
square
#DFC94D #4DDF80 #4D63DF #DF4DAC
split-complementary
#DFC94D #4DACDF #804DDF
monochromatic
#97841B #CAB124 #DFC94D #E8D981 #F2E8B5

Accessibility & contrast

On white

1.67
#DFC94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#DFC94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC94D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC94D#FFFFFF#000000##000000
##DFC94D1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43D
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#F0BBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc94d;
/* rgb */ color: rgb(223, 201, 77);
/* oklch */ color: oklch(83.2% 0.143 99.2);
Tailwind
colors: {
  custom: {
    50: '#ecd985',
    500: '#dfc94d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc94d;
$custom-light: #ecd985;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc94d",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 50.959,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83181,
    "c": 0.14306,
    "h": 99.2
  },
  "luminance": 0.57997
}

Semantic roles & 50–950 ramp

primary
#DFC94D
secondary
#35459B
accent
#56EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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