#DFBA4A#DFBA4A

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

Color values

HEX#DFBA4A
RGBrgb(223, 186, 74)
HSLhsl(45, 70%, 58%)
HSVhsv(45, 67%, 87%)
CMYKcmyk(0%, 16.6%, 66.8%, 12.5%)
CIE-LABlab(76.86, 1.27, 59.68)
CIE-LCHlch(76.86, 59.69, 88.78°)
OKLaboklab(80.11% -0.0013 0.1348)
OKLCHoklch(80.11% 0.135 90.6)
XYZxyz(49.2289, 51.3031, 13.7868)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBA4A #4A6FDF
analogous
#DF6F4A #DFBA4A #B9DF4A
triadic
#DFBA4A #4ADFBA #BA4ADF
tetradic
#DFBA4A #4ADF6F #4A6FDF #DF4AB9
square
#DFBA4A #4ADF6F #4A6FDF #DF4AB9
split-complementary
#DFBA4A #4AB9DF #6F4ADF
monochromatic
#94761A #C89F23 #DFBA4A #E8CE7E #F1E2B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFBA4A#FFFFFF#000000##000000
##DFBA4A1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfba4a;
/* rgb */ color: rgb(223, 186, 74);
/* oklch */ color: oklch(80.1% 0.135 90.6);
Tailwind
colors: {
  custom: {
    50: '#edce82',
    500: '#dfba4a',
    950: '#000000',
  },
}
SCSS
$custom: #dfba4a;
$custom-light: #edce82;
$custom-dark: #000000;
JSON
{
  "hex": "#dfba4a",
  "rgb": {
    "r": 223,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 45.101,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80109,
    "c": 0.13481,
    "h": 90.6
  },
  "luminance": 0.513
}

Semantic roles & 50–950 ramp

primary
#DFBA4A
secondary
#344D99
accent
#67ED3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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