#D0B54B#D0B54B

#D0B54B is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.128 H 94.9°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#D0B54B
RGBrgb(208, 181, 75)
HSLhsl(48, 59%, 55%)
HSVhsv(48, 64%, 82%)
CMYKcmyk(0%, 13%, 63.9%, 18.4%)
CIE-LABlab(74.17, -2.43, 55.95)
CIE-LCHlch(74.17, 56.00, 92.49°)
OKLaboklab(77.66% -0.0109 0.1275)
OKLCHoklch(77.66% 0.128 94.9)
XYZxyz(43.8083, 46.9679, 13.4134)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B54B #4B66D0
analogous
#D0734B #D0B54B #A8D04B
triadic
#D0B54B #4BD0B5 #B54BD0
tetradic
#D0B54B #4BD073 #4B66D0 #D04BA8
square
#D0B54B #4BD073 #4B66D0 #D04BA8
split-complementary
#D0B54B #4BA8D0 #734BD0
monochromatic
#7F6C21 #B0952E #D0B54B #DDC97C #E9DDAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0B54B#FFFFFF#000000##000000
##D0B54B1.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)
#C7B23F
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#E0A89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d0b54b;
/* rgb */ color: rgb(208, 181, 75);
/* oklch */ color: oklch(77.7% 0.128 94.9);
Tailwind
colors: {
  custom: {
    50: '#e2ca82',
    500: '#d0b54b',
    950: '#000000',
  },
}
SCSS
$custom: #d0b54b;
$custom-light: #e2ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b54b",
  "rgb": {
    "r": 208,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 47.82,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77655,
    "c": 0.12796,
    "h": 94.9
  },
  "luminance": 0.46966
}

Semantic roles & 50–950 ramp

primary
#D0B54B
secondary
#A0ABD7
accent
#66E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B54B

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

Preview Lab → · Contrast checker → · Palette generator →

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