#D0B548#D0B548

#D0B548 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.130 H 95.2°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#D0B548
RGBrgb(208, 181, 72)
HSLhsl(48, 59%, 55%)
HSVhsv(48, 65%, 82%)
CMYKcmyk(0%, 13%, 65.4%, 18.4%)
CIE-LABlab(74.14, -2.62, 57.23)
CIE-LCHlch(74.14, 57.29, 92.62°)
OKLaboklab(77.63% -0.0118 0.1298)
OKLCHoklch(77.63% 0.13 95.2)
XYZxyz(43.7080, 46.9278, 12.8854)
Luminance0.4693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B548 #4863D0
analogous
#D07148 #D0B548 #A7D048
triadic
#D0B548 #48D0B5 #B548D0
tetradic
#D0B548 #48D071 #4863D0 #D048A7
square
#D0B548 #48D071 #4863D0 #D048A7
split-complementary
#D0B548 #48A7D0 #7148D0
monochromatic
#7D6B20 #AE942D #D0B548 #DDC979 #E9DCA9

Accessibility & contrast

On white

2.02
#D0B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#D0B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B548
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B548#FFFFFF#000000##000000
##D0B5481.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B13B
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#E0A89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d0b548;
/* rgb */ color: rgb(208, 181, 72);
/* oklch */ color: oklch(77.6% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#e2ca80',
    500: '#d0b548',
    950: '#000000',
  },
}
SCSS
$custom: #d0b548;
$custom-light: #e2ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b548",
  "rgb": {
    "r": 208,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 48.088,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77626,
    "c": 0.13029,
    "h": 95.2
  },
  "luminance": 0.46926
}

Semantic roles & 50–950 ramp

primary
#D0B548
secondary
#9DA9D7
accent
#65E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B548

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

Preview Lab → · Contrast checker → · Palette generator →

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