#DFC54A#DFC54A

#DFC54A is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.3% C 0.142 H 97.2°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#DFC54A
RGBrgb(223, 197, 74)
HSLhsl(50, 70%, 58%)
HSVhsv(50, 67%, 87%)
CMYKcmyk(0%, 11.7%, 66.8%, 12.5%)
CIE-LABlab(79.68, -4.43, 62.62)
CIE-LCHlch(79.68, 62.78, 94.05°)
OKLaboklab(82.34% -0.0177 0.141)
OKLCHoklch(82.34% 0.142 97.2)
XYZxyz(51.6361, 56.1174, 14.5891)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC54A #4A64DF
analogous
#DF7A4A #DFC54A #AEDF4A
triadic
#DFC54A #4ADFC5 #C54ADF
tetradic
#DFC54A #4ADF7A #4A64DF #DF4AAE
square
#DFC54A #4ADF7A #4A64DF #DF4AAE
split-complementary
#DFC54A #4AAEDF #7A4ADF
monochromatic
#947F1A #C8AC23 #DFC54A #E8D67E #F1E6B2

Accessibility & contrast

On white

1.72
#DFC54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#DFC54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC54A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC54A#FFFFFF#000000##000000
##DFC54A1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13A
Deuteranopia (green-blind)
#DFC951
Tritanopia (blue-blind)
#F0B7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc54a;
/* rgb */ color: rgb(223, 197, 74);
/* oklch */ color: oklch(82.3% 0.142 97.2);
Tailwind
colors: {
  custom: {
    50: '#edd683',
    500: '#dfc54a',
    950: '#000000',
  },
}
SCSS
$custom: #dfc54a;
$custom-light: #edd683;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc54a",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 49.53,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82336,
    "c": 0.14215,
    "h": 97.2
  },
  "luminance": 0.56115
}

Semantic roles & 50–950 ramp

primary
#DFC54A
secondary
#344699
accent
#5AED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC54A

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

Preview Lab → · Contrast checker → · Palette generator →

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