#DFC34A#DFC34A

#DFC34A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.9% C 0.141 H 96.0°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#DFC34A
RGBrgb(223, 195, 74)
HSLhsl(49, 70%, 58%)
HSVhsv(49, 67%, 87%)
CMYKcmyk(0%, 12.6%, 66.8%, 12.5%)
CIE-LABlab(79.17, -3.40, 62.09)
CIE-LCHlch(79.17, 62.18, 93.14°)
OKLaboklab(81.93% -0.0148 0.1399)
OKLCHoklch(81.93% 0.141 96)
XYZxyz(51.1850, 55.2152, 14.4388)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC34A #4A66DF
analogous
#DF784A #DFC34A #B0DF4A
triadic
#DFC34A #4ADFC3 #C34ADF
tetradic
#DFC34A #4ADF78 #4A66DF #DF4AB0
square
#DFC34A #4ADF78 #4A66DF #DF4AB0
split-complementary
#DFC34A #4AB0DF #784ADF
monochromatic
#947D1A #C8A923 #DFC34A #E8D47E #F1E5B2

Accessibility & contrast

On white

1.74
#DFC34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#DFC34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC34A
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC34A#FFFFFF#000000##000000
##DFC34A1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#F0B5AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc34a;
/* rgb */ color: rgb(223, 195, 74);
/* oklch */ color: oklch(81.9% 0.141 96.0);
Tailwind
colors: {
  custom: {
    50: '#edd482',
    500: '#dfc34a',
    950: '#000000',
  },
}
SCSS
$custom: #dfc34a;
$custom-light: #edd482;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc34a",
  "rgb": {
    "r": 223,
    "g": 195,
    "b": 74
  },
  "hsl": {
    "h": 48.725,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81928,
    "c": 0.14068,
    "h": 96
  },
  "luminance": 0.55213
}

Semantic roles & 50–950 ramp

primary
#DFC34A
secondary
#344799
accent
#5CED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC34A

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

Preview Lab → · Contrast checker → · Palette generator →

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