#D0B145#D0B145

#D0B145 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.130 H 92.9°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#D0B145
RGBrgb(208, 177, 69)
HSLhsl(47, 60%, 54%)
HSVhsv(47, 67%, 82%)
CMYKcmyk(0%, 14.9%, 66.8%, 18.4%)
CIE-LABlab(73.08, -0.69, 57.39)
CIE-LCHlch(73.08, 57.40, 90.69°)
OKLaboklab(76.78% -0.0067 0.1296)
OKLCHoklch(76.78% 0.13 92.9)
XYZxyz(42.8109, 45.2862, 12.1152)
Luminance0.4528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B145 #4564D0
analogous
#D06C45 #D0B145 #AAD045
triadic
#D0B145 #45D0B1 #B145D0
tetradic
#D0B145 #45D06C #4564D0 #D045AA
square
#D0B145 #45D06C #4564D0 #D045AA
split-complementary
#D0B145 #45AAD0 #6C45D0
monochromatic
#7B671F #AC902C #D0B145 #DCC576 #E9DAA7

Accessibility & contrast

On white

2.09
#D0B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#D0B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B145
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B145#FFFFFF#000000##000000
##D0B1451.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE38
Deuteranopia (green-blind)
#CBB74A
Tritanopia (blue-blind)
#E0A39A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d0b145;
/* rgb */ color: rgb(208, 177, 69);
/* oklch */ color: oklch(76.8% 0.130 92.9);
Tailwind
colors: {
  custom: {
    50: '#e2c87e',
    500: '#d0b145',
    950: '#000000',
  },
}
SCSS
$custom: #d0b145;
$custom-light: #e2c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b145",
  "rgb": {
    "r": 208,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 46.619,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76777,
    "c": 0.12979,
    "h": 92.9
  },
  "luminance": 0.45284
}

Semantic roles & 50–950 ramp

primary
#D0B145
secondary
#9BA8D6
accent
#68E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B145

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

Preview Lab → · Contrast checker → · Palette generator →

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