#DFB947#DFB947

#DFB947 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.9% C 0.136 H 90.3°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#DFB947
RGBrgb(223, 185, 71)
HSLhsl(45, 70%, 58%)
HSVhsv(45, 68%, 87%)
CMYKcmyk(0%, 17%, 68.2%, 12.5%)
CIE-LABlab(76.58, 1.63, 60.65)
CIE-LCHlch(76.58, 60.67, 88.46°)
OKLaboklab(79.88% -0.0007 0.1364)
OKLCHoklch(79.88% 0.136 90.3)
XYZxyz(48.9203, 50.8437, 13.1971)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB947 #476DDF
analogous
#DF6D47 #DFB947 #B9DF47
triadic
#DFB947 #47DFB9 #B947DF
tetradic
#DFB947 #47DF6D #476DDF #DF47B9
square
#DFB947 #47DF6D #476DDF #DF47B9
split-complementary
#DFB947 #47B9DF #6D47DF
monochromatic
#927419 #C69D22 #DFB947 #E8CD7B #F1E1AF

Accessibility & contrast

On white

1.88
#DFB947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#DFB947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB947
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB947#FFFFFF#000000##000000
##DFB9471.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB738
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#F1AAA1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dfb947;
/* rgb */ color: rgb(223, 185, 71);
/* oklch */ color: oklch(79.9% 0.136 90.3);
Tailwind
colors: {
  custom: {
    50: '#edcd80',
    500: '#dfb947',
    950: '#000000',
  },
}
SCSS
$custom: #dfb947;
$custom-light: #edcd80;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb947",
  "rgb": {
    "r": 223,
    "g": 185,
    "b": 71
  },
  "hsl": {
    "h": 45,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79882,
    "c": 0.13636,
    "h": 90.3
  },
  "luminance": 0.50841
}

Semantic roles & 50–950 ramp

primary
#DFB947
secondary
#334C97
accent
#67ED3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFB947

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

Preview Lab → · Contrast checker → · Palette generator →

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