#DFC94F#DFC94F

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

Color values

HEX#DFC94F
RGBrgb(223, 201, 79)
HSLhsl(51, 69%, 59%)
HSVhsv(51, 65%, 87%)
CMYKcmyk(0%, 9.9%, 64.6%, 12.5%)
CIE-LABlab(80.75, -6.20, 61.68)
CIE-LCHlch(80.75, 61.99, 95.74°)
OKLaboklab(83.2% -0.0222 0.1398)
OKLCHoklch(83.2% 0.142 99)
XYZxyz(52.7316, 58.0282, 15.8186)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC94F #4F65DF
analogous
#DF814F #DFC94F #ADDF4F
triadic
#DFC94F #4FDFC9 #C94FDF
tetradic
#DFC94F #4FDF81 #4F65DF #DF4FAD
square
#DFC94F #4FDF81 #4F65DF #DF4FAD
split-complementary
#DFC94F #4FADDF #814FDF
monochromatic
#98851C #CCB225 #DFC94F #E8D983 #F2E9B7

Accessibility & contrast

On white

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

On black

12.61
#DFC94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC94F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC94F#FFFFFF#000000##000000
##DFC94F1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc94f;
/* rgb */ color: rgb(223, 201, 79);
/* oklch */ color: oklch(83.2% 0.142 99.0);
Tailwind
colors: {
  custom: {
    50: '#ecd986',
    500: '#dfc94f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc94f;
$custom-light: #ecd986;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc94f",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 50.833,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83199,
    "c": 0.14157,
    "h": 99
  },
  "luminance": 0.58026
}

Semantic roles & 50–950 ramp

primary
#DFC94F
secondary
#36469C
accent
#57EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC94F

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

Preview Lab → · Contrast checker → · Palette generator →

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