#DFC34C#DFC34C

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

Color values

HEX#DFC34C
RGBrgb(223, 195, 76)
HSLhsl(49, 70%, 59%)
HSVhsv(49, 66%, 87%)
CMYKcmyk(0%, 12.6%, 65.9%, 12.5%)
CIE-LABlab(79.18, -3.29, 61.27)
CIE-LCHlch(79.18, 61.36, 93.07°)
OKLaboklab(81.95% -0.0142 0.1385)
OKLCHoklch(81.95% 0.139 95.9)
XYZxyz(51.2534, 55.2426, 14.7993)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC34C #4C68DF
analogous
#DF794C #DFC34C #B2DF4C
triadic
#DFC34C #4CDFC3 #C34CDF
tetradic
#DFC34C #4CDF79 #4C68DF #DF4CB2
square
#DFC34C #4CDF79 #4C68DF #DF4CB2
split-complementary
#DFC34C #4CB2DF #794CDF
monochromatic
#967E1B #CAAA24 #DFC34C #E8D480 #F2E6B4

Accessibility & contrast

On white

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

On black

12.05
#DFC34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC34C
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC34C#FFFFFF#000000##000000
##DFC34C1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc34c;
/* rgb */ color: rgb(223, 195, 76);
/* oklch */ color: oklch(81.9% 0.139 95.9);
Tailwind
colors: {
  custom: {
    50: '#edd484',
    500: '#dfc34c',
    950: '#000000',
  },
}
SCSS
$custom: #dfc34c;
$custom-light: #edd484;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc34c",
  "rgb": {
    "r": 223,
    "g": 195,
    "b": 76
  },
  "hsl": {
    "h": 48.571,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81945,
    "c": 0.13923,
    "h": 95.9
  },
  "luminance": 0.5524
}

Semantic roles & 50–950 ramp

primary
#DFC34C
secondary
#35489A
accent
#5DEC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC34C

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

Preview Lab → · Contrast checker → · Palette generator →

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