#DFB941#DFB941

#DFB941 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.8% C 0.140 H 90.9°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#DFB941
RGBrgb(223, 185, 65)
HSLhsl(46, 71%, 56%)
HSVhsv(46, 71%, 87%)
CMYKcmyk(0%, 17%, 70.9%, 12.5%)
CIE-LABlab(76.54, 1.32, 63.05)
CIE-LCHlch(76.54, 63.06, 88.80°)
OKLaboklab(79.83% -0.0022 0.1404)
OKLCHoklch(79.83% 0.14 90.9)
XYZxyz(48.7372, 50.7705, 12.2326)
Luminance0.5077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB941 #4167DF
analogous
#DF6A41 #DFB941 #B6DF41
triadic
#DFB941 #41DFB9 #B941DF
tetradic
#DFB941 #41DF6A #4167DF #DF41B6
square
#DFB941 #41DF6A #4167DF #DF41B6
split-complementary
#DFB941 #41B6DF #6A41DF
monochromatic
#8E7118 #C29B21 #DFB941 #E8CC75 #F1E0AA

Accessibility & contrast

On white

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

On black

11.15
#DFB941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB941
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB941#FFFFFF#000000##000000
##DFB9411.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfb941;
/* rgb */ color: rgb(223, 185, 65);
/* oklch */ color: oklch(79.8% 0.140 90.9);
Tailwind
colors: {
  custom: {
    50: '#edcd7c',
    500: '#dfb941',
    950: '#000000',
  },
}
SCSS
$custom: #dfb941;
$custom-light: #edcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb941",
  "rgb": {
    "r": 223,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 45.57,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79832,
    "c": 0.1404,
    "h": 90.9
  },
  "luminance": 0.50768
}

Semantic roles & 50–950 ramp

primary
#DFB941
secondary
#314993
accent
#65EE3A
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DFB941

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

Preview Lab → · Contrast checker → · Palette generator →

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