#DFBA4B#DFBA4B

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

Color values

HEX#DFBA4B
RGBrgb(223, 186, 75)
HSLhsl(45, 70%, 58%)
HSVhsv(45, 66%, 87%)
CMYKcmyk(0%, 16.6%, 66.4%, 12.5%)
CIE-LABlab(76.87, 1.33, 59.26)
CIE-LCHlch(76.87, 59.27, 88.71°)
OKLaboklab(80.12% -0.001 0.1341)
OKLCHoklch(80.12% 0.134 90.4)
XYZxyz(49.2629, 51.3166, 13.9656)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBA4B #4B70DF
analogous
#DF704B #DFBA4B #BADF4B
triadic
#DFBA4B #4BDFBA #BA4BDF
tetradic
#DFBA4B #4BDF70 #4B70DF #DF4BBA
square
#DFBA4B #4BDF70 #4B70DF #DF4BBA
split-complementary
#DFBA4B #4BBADF #704BDF
monochromatic
#95761B #C9A024 #DFBA4B #E8CE7F #F1E2B3

Accessibility & contrast

On white

1.86
#DFBA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#DFBA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBA4B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBA4B#FFFFFF#000000##000000
##DFBA4B1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83E
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#F1ABA3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfba4b;
/* rgb */ color: rgb(223, 186, 75);
/* oklch */ color: oklch(80.1% 0.134 90.4);
Tailwind
colors: {
  custom: {
    50: '#edce82',
    500: '#dfba4b',
    950: '#000000',
  },
}
SCSS
$custom: #dfba4b;
$custom-light: #edce82;
$custom-dark: #000000;
JSON
{
  "hex": "#dfba4b",
  "rgb": {
    "r": 223,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 45,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80118,
    "c": 0.13407,
    "h": 90.4
  },
  "luminance": 0.51314
}

Semantic roles & 50–950 ramp

primary
#DFBA4B
secondary
#354E99
accent
#68ED3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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