#DFB946#DFB946

#DFB946 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.9% C 0.137 H 90.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#DFB946
RGBrgb(223, 185, 70)
HSLhsl(45, 71%, 57%)
HSVhsv(45, 69%, 87%)
CMYKcmyk(0%, 17%, 68.6%, 12.5%)
CIE-LABlab(76.58, 1.58, 61.06)
CIE-LCHlch(76.58, 61.08, 88.52°)
OKLaboklab(79.87% -0.0009 0.1371)
OKLCHoklch(79.87% 0.137 90.4)
XYZxyz(48.8885, 50.8310, 13.0295)
Luminance0.5083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB946 #466CDF
analogous
#DF6C46 #DFB946 #B9DF46
triadic
#DFB946 #46DFB9 #B946DF
tetradic
#DFB946 #46DF6C #466CDF #DF46B9
square
#DFB946 #46DF6C #466CDF #DF46B9
split-complementary
#DFB946 #46B9DF #6C46DF
monochromatic
#917419 #C69D22 #DFB946 #E8CD7A #F1E0AE

Accessibility & contrast

On white

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

On black

11.17
#DFB946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB946
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB946#FFFFFF#000000##000000
##DFB9461.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfb946;
/* rgb */ color: rgb(223, 185, 70);
/* oklch */ color: oklch(79.9% 0.137 90.4);
Tailwind
colors: {
  custom: {
    50: '#edcd7f',
    500: '#dfb946',
    950: '#000000',
  },
}
SCSS
$custom: #dfb946;
$custom-light: #edcd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb946",
  "rgb": {
    "r": 223,
    "g": 185,
    "b": 70
  },
  "hsl": {
    "h": 45.098,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79873,
    "c": 0.13706,
    "h": 90.4
  },
  "luminance": 0.50828
}

Semantic roles & 50–950 ramp

primary
#DFB946
secondary
#334C96
accent
#67ED3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DFB946

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

Preview Lab → · Contrast checker → · Palette generator →

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