#DFC94E#DFC94E

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

Color values

HEX#DFC94E
RGBrgb(223, 201, 78)
HSLhsl(51, 69%, 59%)
HSVhsv(51, 65%, 87%)
CMYKcmyk(0%, 9.9%, 65%, 12.5%)
CIE-LABlab(80.75, -6.26, 62.09)
CIE-LCHlch(80.75, 62.40, 95.75°)
OKLaboklab(83.19% -0.0225 0.1405)
OKLCHoklch(83.19% 0.142 99.1)
XYZxyz(52.6955, 58.0137, 15.6283)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC94E #4E64DF
analogous
#DF814E #DFC94E #ACDF4E
triadic
#DFC94E #4EDFC9 #C94EDF
tetradic
#DFC94E #4EDF81 #4E64DF #DF4EAC
square
#DFC94E #4EDF81 #4E64DF #DF4EAC
split-complementary
#DFC94E #4EACDF #814EDF
monochromatic
#97841B #CBB225 #DFC94E #E8D982 #F2E9B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC94E#FFFFFF#000000##000000
##DFC94E1.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)
#DBC43F
Deuteranopia (green-blind)
#E1CC55
Tritanopia (blue-blind)
#F0BBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc94e;
/* rgb */ color: rgb(223, 201, 78);
/* oklch */ color: oklch(83.2% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#ecd985',
    500: '#dfc94e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc94e;
$custom-light: #ecd985;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc94e",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 50.897,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8319,
    "c": 0.14232,
    "h": 99.1
  },
  "luminance": 0.58011
}

Semantic roles & 50–950 ramp

primary
#DFC94E
secondary
#36459B
accent
#56EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC94E

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

Preview Lab → · Contrast checker → · Palette generator →

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