#D0B545#D0B545

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

Color values

HEX#D0B545
RGBrgb(208, 181, 69)
HSLhsl(48, 60%, 54%)
HSVhsv(48, 67%, 82%)
CMYKcmyk(0%, 13%, 66.8%, 18.4%)
CIE-LABlab(74.12, -2.79, 58.48)
CIE-LCHlch(74.12, 58.55, 92.73°)
OKLaboklab(77.6% -0.0127 0.1319)
OKLCHoklch(77.6% 0.133 95.5)
XYZxyz(43.6126, 46.8896, 12.3825)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B545 #4560D0
analogous
#D06F45 #D0B545 #A6D045
triadic
#D0B545 #45D0B5 #B545D0
tetradic
#D0B545 #45D06F #4560D0 #D045A6
square
#D0B545 #45D06F #4560D0 #D045A6
split-complementary
#D0B545 #45A6D0 #6F45D0
monochromatic
#7B6A1F #AC932C #D0B545 #DCC876 #E9DCA7

Accessibility & contrast

On white

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

On black

10.38
#D0B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B545
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B545#FFFFFF#000000##000000
##D0B5451.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0b545;
/* rgb */ color: rgb(208, 181, 69);
/* oklch */ color: oklch(77.6% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#e2ca7e',
    500: '#d0b545',
    950: '#000000',
  },
}
SCSS
$custom: #d0b545;
$custom-light: #e2ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b545",
  "rgb": {
    "r": 208,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 48.345,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77599,
    "c": 0.13254,
    "h": 95.5
  },
  "luminance": 0.46887
}

Semantic roles & 50–950 ramp

primary
#D0B545
secondary
#9BA6D6
accent
#64E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B545

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

Preview Lab → · Contrast checker → · Palette generator →

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