#D0B45F#D0B45F

#D0B45F is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.110 H 91.5°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#D0B45F
RGBrgb(208, 180, 95)
HSLhsl(45, 55%, 59%)
HSVhsv(45, 54%, 82%)
CMYKcmyk(0%, 13.5%, 54.3%, 18.4%)
CIE-LABlab(74.11, -0.46, 46.56)
CIE-LCHlch(74.11, 46.56, 90.56°)
OKLaboklab(77.68% -0.0028 0.1098)
OKLCHoklch(77.68% 0.11 91.5)
XYZxyz(44.4010, 46.8808, 17.5344)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B45F #5F7BD0
analogous
#D07C5F #D0B45F #B3D05F
triadic
#D0B45F #5FD0B4 #B45FD0
tetradic
#D0B45F #5FD07C #5F7BD0 #D05FB3
square
#D0B45F #5FD07C #5F7BD0 #D05FB3
split-complementary
#D0B45F #5FB3D0 #7C5FD0
monochromatic
#8C7329 #BB9A37 #D0B45F #DECA8E #ECE0BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0B45F#FFFFFF#000000##000000
##D0B45F1.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)
#C4B257
Deuteranopia (green-blind)
#CBBA62
Tritanopia (blue-blind)
#DFA8A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d0b45f;
/* rgb */ color: rgb(208, 180, 95);
/* oklch */ color: oklch(77.7% 0.110 91.5);
Tailwind
colors: {
  custom: {
    50: '#e1ca8e',
    500: '#d0b45f',
    950: '#000000',
  },
}
SCSS
$custom: #d0b45f;
$custom-light: #e1ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b45f",
  "rgb": {
    "r": 208,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 45.133,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.77676,
    "c": 0.1098,
    "h": 91.5
  },
  "luminance": 0.46879
}

Semantic roles & 50–950 ramp

primary
#D0B45F
secondary
#AFBADB
accent
#6FDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D0B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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