#D0B645#D0B645

#D0B645 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.133 H 96.1°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#D0B645
RGBrgb(208, 182, 69)
HSLhsl(49, 60%, 54%)
HSVhsv(49, 67%, 82%)
CMYKcmyk(0%, 12.5%, 66.8%, 18.4%)
CIE-LABlab(74.38, -3.32, 58.75)
CIE-LCHlch(74.38, 58.85, 93.23°)
OKLaboklab(77.81% -0.0142 0.1325)
OKLCHoklch(77.81% 0.133 96.1)
XYZxyz(43.8166, 47.2977, 12.4505)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B645 #455FD0
analogous
#D07145 #D0B645 #A5D045
triadic
#D0B645 #45D0B6 #B645D0
tetradic
#D0B645 #45D071 #455FD0 #D045A5
square
#D0B645 #45D071 #455FD0 #D045A5
split-complementary
#D0B645 #45A5D0 #7145D0
monochromatic
#7B6A1F #AC942C #D0B645 #DCC976 #E9DCA7

Accessibility & contrast

On white

2.01
#D0B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#D0B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B645
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B645#FFFFFF#000000##000000
##D0B6451.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B237
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#E0A99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d0b645;
/* rgb */ color: rgb(208, 182, 69);
/* oklch */ color: oklch(77.8% 0.133 96.1);
Tailwind
colors: {
  custom: {
    50: '#e2cb7e',
    500: '#d0b645',
    950: '#000000',
  },
}
SCSS
$custom: #d0b645;
$custom-light: #e2cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b645",
  "rgb": {
    "r": 208,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 48.777,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77805,
    "c": 0.13326,
    "h": 96.1
  },
  "luminance": 0.47295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0B645

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

Preview Lab → · Contrast checker → · Palette generator →

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