#DFB841#DFB841

#DFB841 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.6% C 0.140 H 90.3°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#DFB841
RGBrgb(223, 184, 65)
HSLhsl(45, 71%, 56%)
HSVhsv(45, 71%, 87%)
CMYKcmyk(0%, 17.5%, 70.9%, 12.5%)
CIE-LABlab(76.29, 1.85, 62.79)
CIE-LCHlch(76.29, 62.82, 88.32°)
OKLaboklab(79.63% -0.0007 0.1398)
OKLCHoklch(79.63% 0.14 90.3)
XYZxyz(48.5287, 50.3536, 12.1632)
Luminance0.5035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB841 #4168DF
analogous
#DF6941 #DFB841 #B7DF41
triadic
#DFB841 #41DFB8 #B841DF
tetradic
#DFB841 #41DF69 #4168DF #DF41B7
square
#DFB841 #41DF69 #4168DF #DF41B7
split-complementary
#DFB841 #41B7DF #6941DF
monochromatic
#8E7118 #C29A21 #DFB841 #E8CC75 #F1DFAA

Accessibility & contrast

On white

1.90
#DFB841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#DFB841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB841
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB841#FFFFFF#000000##000000
##DFB8411.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB630
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#F1A9A0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dfb841;
/* rgb */ color: rgb(223, 184, 65);
/* oklch */ color: oklch(79.6% 0.140 90.3);
Tailwind
colors: {
  custom: {
    50: '#edcd7c',
    500: '#dfb841',
    950: '#000000',
  },
}
SCSS
$custom: #dfb841;
$custom-light: #edcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb841",
  "rgb": {
    "r": 223,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 45.19,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79632,
    "c": 0.13984,
    "h": 90.3
  },
  "luminance": 0.50351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFB841

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

Preview Lab → · Contrast checker → · Palette generator →

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