#DFC74A#DFC74A

#DFC74A is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.144 H 98.3°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#DFC74A
RGBrgb(223, 199, 74)
HSLhsl(50, 70%, 58%)
HSVhsv(50, 67%, 87%)
CMYKcmyk(0%, 10.8%, 66.8%, 12.5%)
CIE-LABlab(80.20, -5.46, 63.16)
CIE-LCHlch(80.20, 63.40, 94.94°)
OKLaboklab(82.75% -0.0206 0.1422)
OKLCHoklch(82.75% 0.144 98.3)
XYZxyz(52.0932, 57.0317, 14.7415)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC74A #4A62DF
analogous
#DF7D4A #DFC74A #ACDF4A
triadic
#DFC74A #4ADFC7 #C74ADF
tetradic
#DFC74A #4ADF7D #4A62DF #DF4AAC
square
#DFC74A #4ADF7D #4A62DF #DF4AAC
split-complementary
#DFC74A #4AACDF #7D4ADF
monochromatic
#94811A #C8AE23 #DFC74A #E8D77E #F1E7B2

Accessibility & contrast

On white

1.69
#DFC74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#DFC74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC74A
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC74A#FFFFFF#000000##000000
##DFC74A1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23A
Deuteranopia (green-blind)
#E0CB51
Tritanopia (blue-blind)
#F0B9AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc74a;
/* rgb */ color: rgb(223, 199, 74);
/* oklch */ color: oklch(82.7% 0.144 98.3);
Tailwind
colors: {
  custom: {
    50: '#edd783',
    500: '#dfc74a',
    950: '#000000',
  },
}
SCSS
$custom: #dfc74a;
$custom-light: #edd783;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc74a",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 50.336,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82745,
    "c": 0.14366,
    "h": 98.3
  },
  "luminance": 0.57029
}

Semantic roles & 50–950 ramp

primary
#DFC74A
secondary
#344599
accent
#58ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC74A

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

Preview Lab → · Contrast checker → · Palette generator →

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