#DFBF47#DFBF47

#DFBF47 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 81.1% C 0.140 H 94.0°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#DFBF47
RGBrgb(223, 191, 71)
HSLhsl(47, 70%, 58%)
HSVhsv(47, 68%, 87%)
CMYKcmyk(0%, 14.3%, 68.2%, 12.5%)
CIE-LABlab(78.11, -1.50, 62.23)
CIE-LCHlch(78.11, 62.25, 91.38°)
OKLaboklab(81.09% -0.0096 0.1397)
OKLCHoklch(81.09% 0.14 94)
XYZxyz(50.2021, 53.4072, 13.6244)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF47 #4767DF
analogous
#DF7347 #DFBF47 #B3DF47
triadic
#DFBF47 #47DFBF #BF47DF
tetradic
#DFBF47 #47DF73 #4767DF #DF47B3
square
#DFBF47 #47DF73 #4767DF #DF47B3
split-complementary
#DFBF47 #47B3DF #7347DF
monochromatic
#927919 #C6A422 #DFBF47 #E8D17B #F1E3AF

Accessibility & contrast

On white

1.80
#DFBF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#DFBF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF47
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF47#FFFFFF#000000##000000
##DFBF471.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC37
Deuteranopia (green-blind)
#DBC54D
Tritanopia (blue-blind)
#F0B0A6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbf47;
/* rgb */ color: rgb(223, 191, 71);
/* oklch */ color: oklch(81.1% 0.140 94.0);
Tailwind
colors: {
  custom: {
    50: '#edd180',
    500: '#dfbf47',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf47;
$custom-light: #edd180;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf47",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 47.368,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8109,
    "c": 0.14004,
    "h": 94
  },
  "luminance": 0.53405
}

Semantic roles & 50–950 ramp

primary
#DFBF47
secondary
#334897
accent
#60ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFBF47

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

Preview Lab → · Contrast checker → · Palette generator →

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