#DFC84A#DFC84A

#DFC84A is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.0% C 0.144 H 98.8°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#DFC84A
RGBrgb(223, 200, 74)
HSLhsl(51, 70%, 58%)
HSVhsv(51, 67%, 87%)
CMYKcmyk(0%, 10.3%, 66.8%, 12.5%)
CIE-LABlab(80.46, -5.97, 63.43)
CIE-LCHlch(80.46, 63.71, 95.38°)
OKLaboklab(82.95% -0.0221 0.1427)
OKLCHoklch(82.95% 0.144 98.8)
XYZxyz(52.3241, 57.4934, 14.8185)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC84A #4A61DF
analogous
#DF7D4A #DFC84A #ACDF4A
triadic
#DFC84A #4ADFC8 #C84ADF
tetradic
#DFC84A #4ADF7D #4A61DF #DF4AAC
square
#DFC84A #4ADF7D #4A61DF #DF4AAC
split-complementary
#DFC84A #4AACDF #7D4ADF
monochromatic
#94821A #C8AF23 #DFC84A #E8D87E #F1E8B2

Accessibility & contrast

On white

1.68
#DFC84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#DFC84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC84A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC84A#FFFFFF#000000##000000
##DFC84A1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#E1CB51
Tritanopia (blue-blind)
#F0BAAE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc84a;
/* rgb */ color: rgb(223, 200, 74);
/* oklch */ color: oklch(83.0% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#edd883',
    500: '#dfc84a',
    950: '#000000',
  },
}
SCSS
$custom: #dfc84a;
$custom-light: #edd883;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc84a",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 50.738,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8295,
    "c": 0.14444,
    "h": 98.8
  },
  "luminance": 0.57491
}

Semantic roles & 50–950 ramp

primary
#DFC84A
secondary
#344499
accent
#56ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC84A

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

Preview Lab → · Contrast checker → · Palette generator →

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