#DFBC4F#DFBC4F

#DFBC4F is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.6% C 0.132 H 91.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#DFBC4F
RGBrgb(223, 188, 79)
HSLhsl(45, 69%, 59%)
HSVhsv(45, 65%, 87%)
CMYKcmyk(0%, 15.7%, 64.6%, 12.5%)
CIE-LABlab(77.41, 0.52, 58.11)
CIE-LCHlch(77.41, 58.11, 89.49°)
OKLaboklab(80.56% -0.0029 0.1322)
OKLCHoklch(80.56% 0.132 91.3)
XYZxyz(49.8284, 52.2217, 14.8509)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBC4F #4F72DF
analogous
#DF744F #DFBC4F #BADF4F
triadic
#DFBC4F #4FDFBC #BC4FDF
tetradic
#DFBC4F #4FDF74 #4F72DF #DF4FBA
square
#DFBC4F #4FDF74 #4F72DF #DF4FBA
split-complementary
#DFBC4F #4FBADF #744FDF
monochromatic
#987A1C #CCA325 #DFBC4F #E8D083 #F2E3B7

Accessibility & contrast

On white

1.84
#DFBC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#DFBC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBC4F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBC4F#FFFFFF#000000##000000
##DFBC4F1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB942
Deuteranopia (green-blind)
#D8C354
Tritanopia (blue-blind)
#F0AEA5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfbc4f;
/* rgb */ color: rgb(223, 188, 79);
/* oklch */ color: oklch(80.6% 0.132 91.3);
Tailwind
colors: {
  custom: {
    50: '#eccf85',
    500: '#dfbc4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfbc4f;
$custom-light: #eccf85;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbc4f",
  "rgb": {
    "r": 223,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 45.417,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80557,
    "c": 0.13227,
    "h": 91.3
  },
  "luminance": 0.52219
}

Semantic roles & 50–950 ramp

primary
#DFBC4F
secondary
#364F9C
accent
#67EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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