#DFBA47#DFBA47

#DFBA47 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 80.1% C 0.137 H 90.9°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#DFBA47
RGBrgb(223, 186, 71)
HSLhsl(45, 70%, 58%)
HSVhsv(45, 68%, 87%)
CMYKcmyk(0%, 16.6%, 68.2%, 12.5%)
CIE-LABlab(76.84, 1.11, 60.91)
CIE-LCHlch(76.84, 60.92, 88.96°)
OKLaboklab(80.08% -0.0022 0.1369)
OKLCHoklch(80.08% 0.137 90.9)
XYZxyz(49.1303, 51.2636, 13.2671)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBA47 #476CDF
analogous
#DF6E47 #DFBA47 #B8DF47
triadic
#DFBA47 #47DFBA #BA47DF
tetradic
#DFBA47 #47DF6E #476CDF #DF47B8
square
#DFBA47 #47DF6E #476CDF #DF47B8
split-complementary
#DFBA47 #47B8DF #6E47DF
monochromatic
#927519 #C69E22 #DFBA47 #E8CE7B #F1E1AF

Accessibility & contrast

On white

1.87
#DFBA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#DFBA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBA47
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBA47#FFFFFF#000000##000000
##DFBA471.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB838
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#F1ABA2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfba47;
/* rgb */ color: rgb(223, 186, 71);
/* oklch */ color: oklch(80.1% 0.137 90.9);
Tailwind
colors: {
  custom: {
    50: '#edce80',
    500: '#dfba47',
    950: '#000000',
  },
}
SCSS
$custom: #dfba47;
$custom-light: #edce80;
$custom-dark: #000000;
JSON
{
  "hex": "#dfba47",
  "rgb": {
    "r": 223,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 45.395,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80082,
    "c": 0.13694,
    "h": 90.9
  },
  "luminance": 0.51261
}

Semantic roles & 50–950 ramp

primary
#DFBA47
secondary
#334C97
accent
#66ED3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBA47

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

Preview Lab → · Contrast checker → · Palette generator →

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