#DFBC48#DFBC48

#DFBC48 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.5% C 0.137 H 92.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#DFBC48
RGBrgb(223, 188, 72)
HSLhsl(46, 70%, 58%)
HSVhsv(46, 68%, 87%)
CMYKcmyk(0%, 15.7%, 67.7%, 12.5%)
CIE-LABlab(77.36, 0.12, 61.03)
CIE-LCHlch(77.36, 61.03, 89.89°)
OKLaboklab(80.49% -0.0049 0.1374)
OKLCHoklch(80.49% 0.137 92)
XYZxyz(49.5869, 52.1251, 13.5790)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBC48 #486BDF
analogous
#DF7148 #DFBC48 #B6DF48
triadic
#DFBC48 #48DFBC #BC48DF
tetradic
#DFBC48 #48DF71 #486BDF #DF48B6
square
#DFBC48 #48DF71 #486BDF #DF48B6
split-complementary
#DFBC48 #48B6DF #7148DF
monochromatic
#93771A #C7A123 #DFBC48 #E8CF7C #F1E2B0

Accessibility & contrast

On white

1.84
#DFBC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#DFBC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBC48
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBC48#FFFFFF#000000##000000
##DFBC481.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B939
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#F1ADA4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfbc48;
/* rgb */ color: rgb(223, 188, 72);
/* oklch */ color: oklch(80.5% 0.137 92.0);
Tailwind
colors: {
  custom: {
    50: '#edcf81',
    500: '#dfbc48',
    950: '#000000',
  },
}
SCSS
$custom: #dfbc48;
$custom-light: #edcf81;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbc48",
  "rgb": {
    "r": 223,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 46.093,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80493,
    "c": 0.13744,
    "h": 92
  },
  "luminance": 0.52122
}

Semantic roles & 50–950 ramp

primary
#DFBC48
secondary
#344B98
accent
#64ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBC48

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

Preview Lab → · Contrast checker → · Palette generator →

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