#DFBA48#DFBA48

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

Color values

HEX#DFBA48
RGBrgb(223, 186, 72)
HSLhsl(45, 70%, 58%)
HSVhsv(45, 68%, 87%)
CMYKcmyk(0%, 16.6%, 67.7%, 12.5%)
CIE-LABlab(76.85, 1.16, 60.50)
CIE-LCHlch(76.85, 60.52, 88.90°)
OKLaboklab(80.09% -0.0019 0.1362)
OKLCHoklch(80.09% 0.136 90.8)
XYZxyz(49.1626, 51.2765, 13.4375)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBA48 #486DDF
analogous
#DF6E48 #DFBA48 #B9DF48
triadic
#DFBA48 #48DFBA #BA48DF
tetradic
#DFBA48 #48DF6E #486DDF #DF48B9
square
#DFBA48 #48DF6E #486DDF #DF48B9
split-complementary
#DFBA48 #48B9DF #6E48DF
monochromatic
#93751A #C79F23 #DFBA48 #E8CE7C #F1E1B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFBA48#FFFFFF#000000##000000
##DFBA481.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)
#CEB83A
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#F1ABA2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfba48;
/* rgb */ color: rgb(223, 186, 72);
/* oklch */ color: oklch(80.1% 0.136 90.8);
Tailwind
colors: {
  custom: {
    50: '#edce81',
    500: '#dfba48',
    950: '#000000',
  },
}
SCSS
$custom: #dfba48;
$custom-light: #edce81;
$custom-dark: #000000;
JSON
{
  "hex": "#dfba48",
  "rgb": {
    "r": 223,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 45.298,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80091,
    "c": 0.13623,
    "h": 90.8
  },
  "luminance": 0.51274
}

Semantic roles & 50–950 ramp

primary
#DFBA48
secondary
#344C98
accent
#66ED3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBA48

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

Preview Lab → · Contrast checker → · Palette generator →

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