#DFB943#DFB943

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

Color values

HEX#DFB943
RGBrgb(223, 185, 67)
HSLhsl(45, 71%, 57%)
HSVhsv(45, 70%, 87%)
CMYKcmyk(0%, 17%, 70%, 12.5%)
CIE-LABlab(76.55, 1.42, 62.26)
CIE-LCHlch(76.55, 62.28, 88.69°)
OKLaboklab(79.85% -0.0017 0.1391)
OKLCHoklch(79.85% 0.139 90.7)
XYZxyz(48.7962, 50.7941, 12.5432)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB943 #4369DF
analogous
#DF6B43 #DFB943 #B7DF43
triadic
#DFB943 #43DFB9 #B943DF
tetradic
#DFB943 #43DF6B #4369DF #DF43B7
square
#DFB943 #43DF6B #4369DF #DF43B7
split-complementary
#DFB943 #43B7DF #6B43DF
monochromatic
#8F7218 #C49C21 #DFB943 #E8CC77 #F1E0AC

Accessibility & contrast

On white

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

On black

11.16
#DFB943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB943
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB943#FFFFFF#000000##000000
##DFB9431.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfb943;
/* rgb */ color: rgb(223, 185, 67);
/* oklch */ color: oklch(79.8% 0.139 90.7);
Tailwind
colors: {
  custom: {
    50: '#edcd7e',
    500: '#dfb943',
    950: '#000000',
  },
}
SCSS
$custom: #dfb943;
$custom-light: #edcd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb943",
  "rgb": {
    "r": 223,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 45.385,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79848,
    "c": 0.13909,
    "h": 90.7
  },
  "luminance": 0.50791
}

Semantic roles & 50–950 ramp

primary
#DFB943
secondary
#324A94
accent
#66EE3A
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DFB943

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

Preview Lab → · Contrast checker → · Palette generator →

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