#DFBC4E#DFBC4E

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

Color values

HEX#DFBC4E
RGBrgb(223, 188, 78)
HSLhsl(46, 69%, 59%)
HSVhsv(46, 65%, 87%)
CMYKcmyk(0%, 15.7%, 65%, 12.5%)
CIE-LABlab(77.40, 0.46, 58.53)
CIE-LCHlch(77.40, 58.54, 89.55°)
OKLaboklab(80.55% -0.0032 0.133)
OKLCHoklch(80.55% 0.133 91.4)
XYZxyz(49.7923, 52.2073, 14.6606)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBC4E #4E71DF
analogous
#DF744E #DFBC4E #BADF4E
triadic
#DFBC4E #4EDFBC #BC4EDF
tetradic
#DFBC4E #4EDF74 #4E71DF #DF4EBA
square
#DFBC4E #4EDF74 #4E71DF #DF4EBA
split-complementary
#DFBC4E #4EBADF #744EDF
monochromatic
#97791B #CBA325 #DFBC4E #E8D082 #F2E3B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFBC4E#FFFFFF#000000##000000
##DFBC4E1.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)
#CFB941
Deuteranopia (green-blind)
#D8C353
Tritanopia (blue-blind)
#F0AEA5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfbc4e;
/* rgb */ color: rgb(223, 188, 78);
/* oklch */ color: oklch(80.5% 0.133 91.4);
Tailwind
colors: {
  custom: {
    50: '#edcf84',
    500: '#dfbc4e',
    950: '#000000',
  },
}
SCSS
$custom: #dfbc4e;
$custom-light: #edcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbc4e",
  "rgb": {
    "r": 223,
    "g": 188,
    "b": 78
  },
  "hsl": {
    "h": 45.517,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.13304,
    "h": 91.4
  },
  "luminance": 0.52204
}

Semantic roles & 50–950 ramp

primary
#DFBC4E
secondary
#364E9B
accent
#66EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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