#DFC147#DFC147

#DFC147 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.141 H 95.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#DFC147
RGBrgb(223, 193, 71)
HSLhsl(48, 70%, 58%)
HSVhsv(48, 68%, 87%)
CMYKcmyk(0%, 13.5%, 68.2%, 12.5%)
CIE-LABlab(78.63, -2.53, 62.76)
CIE-LCHlch(78.63, 62.81, 92.31°)
OKLaboklab(81.5% -0.0126 0.1408)
OKLCHoklch(81.5% 0.141 95.1)
XYZxyz(50.6412, 54.2855, 13.7708)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC147 #4765DF
analogous
#DF7547 #DFC147 #B1DF47
triadic
#DFC147 #47DFC1 #C147DF
tetradic
#DFC147 #47DF75 #4765DF #DF47B1
square
#DFC147 #47DF75 #4765DF #DF47B1
split-complementary
#DFC147 #47B1DF #7547DF
monochromatic
#927A19 #C6A622 #DFC147 #E8D37B #F1E4AF

Accessibility & contrast

On white

1.77
#DFC147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#DFC147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC147
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC147#FFFFFF#000000##000000
##DFC1471.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD37
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#F0B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc147;
/* rgb */ color: rgb(223, 193, 71);
/* oklch */ color: oklch(81.5% 0.141 95.1);
Tailwind
colors: {
  custom: {
    50: '#edd381',
    500: '#dfc147',
    950: '#000000',
  },
}
SCSS
$custom: #dfc147;
$custom-light: #edd381;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc147",
  "rgb": {
    "r": 223,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 48.158,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81496,
    "c": 0.14139,
    "h": 95.1
  },
  "luminance": 0.54283
}

Semantic roles & 50–950 ramp

primary
#DFC147
secondary
#334797
accent
#5EED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC147

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

Preview Lab → · Contrast checker → · Palette generator →

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