#D0B948#D0B948

#D0B948 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.133 H 97.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D0B948
RGBrgb(208, 185, 72)
HSLhsl(50, 59%, 55%)
HSVhsv(50, 65%, 82%)
CMYKcmyk(0%, 11.1%, 65.4%, 18.4%)
CIE-LABlab(75.19, -4.71, 58.33)
CIE-LCHlch(75.19, 58.52, 94.61°)
OKLaboklab(78.45% -0.0178 0.1321)
OKLCHoklch(78.45% 0.133 97.7)
XYZxyz(44.5331, 48.5778, 13.1604)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B948 #485FD0
analogous
#D07548 #D0B948 #A3D048
triadic
#D0B948 #48D0B9 #B948D0
tetradic
#D0B948 #48D075 #485FD0 #D048A3
square
#D0B948 #48D075 #485FD0 #D048A3
split-complementary
#D0B948 #48A3D0 #7548D0
monochromatic
#7D6E20 #AE982D #D0B948 #DDCC79 #E9DEA9

Accessibility & contrast

On white

1.96
#D0B948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#D0B948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B948
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B948#FFFFFF#000000##000000
##D0B9481.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB53A
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#E0ACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d0b948;
/* rgb */ color: rgb(208, 185, 72);
/* oklch */ color: oklch(78.5% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#e2cd80',
    500: '#d0b948',
    950: '#000000',
  },
}
SCSS
$custom: #d0b948;
$custom-light: #e2cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b948",
  "rgb": {
    "r": 208,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 49.853,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78453,
    "c": 0.1333,
    "h": 97.7
  },
  "luminance": 0.48576
}

Semantic roles & 50–950 ramp

primary
#D0B948
secondary
#9DA7D7
accent
#60E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B948

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

Preview Lab → · Contrast checker → · Palette generator →

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