#DFC247#DFC247

#DFC247 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.142 H 95.7°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#DFC247
RGBrgb(223, 194, 71)
HSLhsl(49, 70%, 58%)
HSVhsv(49, 68%, 87%)
CMYKcmyk(0%, 13%, 68.2%, 12.5%)
CIE-LABlab(78.89, -3.05, 63.02)
CIE-LCHlch(78.89, 63.10, 92.77°)
OKLaboklab(81.7% -0.0141 0.1414)
OKLCHoklch(81.7% 0.142 95.7)
XYZxyz(50.8630, 54.7291, 13.8447)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC247 #4764DF
analogous
#DF7647 #DFC247 #B0DF47
triadic
#DFC247 #47DFC2 #C247DF
tetradic
#DFC247 #47DF76 #4764DF #DF47B0
square
#DFC247 #47DF76 #4764DF #DF47B0
split-complementary
#DFC247 #47B0DF #7647DF
monochromatic
#927B19 #C6A722 #DFC247 #E8D37B #F1E5AF

Accessibility & contrast

On white

1.76
#DFC247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#DFC247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC247
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC247#FFFFFF#000000##000000
##DFC2471.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE36
Deuteranopia (green-blind)
#DDC74E
Tritanopia (blue-blind)
#F0B3A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc247;
/* rgb */ color: rgb(223, 194, 71);
/* oklch */ color: oklch(81.7% 0.142 95.7);
Tailwind
colors: {
  custom: {
    50: '#edd481',
    500: '#dfc247',
    950: '#000000',
  },
}
SCSS
$custom: #dfc247;
$custom-light: #edd481;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc247",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 48.553,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81699,
    "c": 0.14209,
    "h": 95.7
  },
  "luminance": 0.54726
}

Semantic roles & 50–950 ramp

primary
#DFC247
secondary
#334697
accent
#5DED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC247

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

Preview Lab → · Contrast checker → · Palette generator →

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