#DFC94C#DFC94C

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

Color values

HEX#DFC94C
RGBrgb(223, 201, 76)
HSLhsl(51, 70%, 59%)
HSVhsv(51, 66%, 87%)
CMYKcmyk(0%, 9.9%, 65.9%, 12.5%)
CIE-LABlab(80.73, -6.37, 62.90)
CIE-LCHlch(80.73, 63.22, 95.79°)
OKLaboklab(83.17% -0.023 0.1419)
OKLCHoklch(83.17% 0.144 99.2)
XYZxyz(52.6249, 57.9855, 15.2564)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC94C #4C62DF
analogous
#DF7F4C #DFC94C #ACDF4C
triadic
#DFC94C #4CDFC9 #C94CDF
tetradic
#DFC94C #4CDF7F #4C62DF #DF4CAC
square
#DFC94C #4CDF7F #4C62DF #DF4CAC
split-complementary
#DFC94C #4CACDF #7F4CDF
monochromatic
#96831B #CAB124 #DFC94C #E8D980 #F2E8B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC94C#FFFFFF#000000##000000
##DFC94C1.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)
#DCC43C
Deuteranopia (green-blind)
#E2CC53
Tritanopia (blue-blind)
#F0BBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc94c;
/* rgb */ color: rgb(223, 201, 76);
/* oklch */ color: oklch(83.2% 0.144 99.2);
Tailwind
colors: {
  custom: {
    50: '#ecd984',
    500: '#dfc94c',
    950: '#000000',
  },
}
SCSS
$custom: #dfc94c;
$custom-light: #ecd984;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc94c",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 51.02,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83173,
    "c": 0.14379,
    "h": 99.2
  },
  "luminance": 0.57983
}

Semantic roles & 50–950 ramp

primary
#DFC94C
secondary
#35449A
accent
#56EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC94C

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

Preview Lab → · Contrast checker → · Palette generator →

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