#DFBF4F#DFBF4F

#DFBF4F is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.2% C 0.134 H 93.2°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#DFBF4F
RGBrgb(223, 191, 79)
HSLhsl(47, 69%, 59%)
HSVhsv(47, 65%, 87%)
CMYKcmyk(0%, 14.3%, 64.6%, 12.5%)
CIE-LABlab(78.18, -1.04, 58.93)
CIE-LCHlch(78.18, 58.94, 91.01°)
OKLaboklab(81.16% -0.0074 0.134)
OKLCHoklch(81.16% 0.134 93.2)
XYZxyz(50.4759, 53.5168, 15.0667)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBF4F #4F6FDF
analogous
#DF774F #DFBF4F #B7DF4F
triadic
#DFBF4F #4FDFBF #BF4FDF
tetradic
#DFBF4F #4FDF77 #4F6FDF #DF4FB7
square
#DFBF4F #4FDF77 #4F6FDF #DF4FB7
split-complementary
#DFBF4F #4FB7DF #774FDF
monochromatic
#987C1C #CCA725 #DFBF4F #E8D283 #F2E5B7

Accessibility & contrast

On white

1.79
#DFBF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#DFBF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBF4F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBF4F#FFFFFF#000000##000000
##DFBF4F1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#F0B1A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfbf4f;
/* rgb */ color: rgb(223, 191, 79);
/* oklch */ color: oklch(81.2% 0.134 93.2);
Tailwind
colors: {
  custom: {
    50: '#ecd285',
    500: '#dfbf4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfbf4f;
$custom-light: #ecd285;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbf4f",
  "rgb": {
    "r": 223,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 46.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81161,
    "c": 0.13419,
    "h": 93.2
  },
  "luminance": 0.53514
}

Semantic roles & 50–950 ramp

primary
#DFBF4F
secondary
#364D9C
accent
#63EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFBF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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