#D0B031#D0B031

#D0B031 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.142 H 94.1°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#D0B031
RGBrgb(208, 176, 49)
HSLhsl(48, 63%, 50%)
HSVhsv(48, 76%, 82%)
CMYKcmyk(0%, 15.4%, 76.4%, 18.4%)
CIE-LABlab(72.68, -1.13, 64.78)
CIE-LCHlch(72.68, 64.79, 91.00°)
OKLaboklab(76.42% -0.0101 0.1416)
OKLCHoklch(76.42% 0.142 94.1)
XYZxyz(42.0945, 44.6848, 9.3130)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B031 #3151D0
analogous
#D06131 #D0B031 #A0D031
triadic
#D0B031 #31D0B0 #B031D0
tetradic
#D0B031 #31D061 #3151D0 #D031A0
square
#D0B031 #31D061 #3151D0 #D031A0
split-complementary
#D0B031 #31A0D0 #6131D0
monochromatic
#6E5D19 #9F8724 #D0B031 #DBC363 #E7D695

Accessibility & contrast

On white

2.11
#D0B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#D0B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B031
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B031#FFFFFF#000000##000000
##D0B0311.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD18
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#E1A298
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d0b031;
/* rgb */ color: rgb(208, 176, 49);
/* oklch */ color: oklch(76.4% 0.142 94.1);
Tailwind
colors: {
  custom: {
    50: '#e3c773',
    500: '#d0b031',
    950: '#000000',
  },
}
SCSS
$custom: #d0b031;
$custom-light: #e3c773;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b031",
  "rgb": {
    "r": 208,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 47.925,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76421,
    "c": 0.14198,
    "h": 94.1
  },
  "luminance": 0.44682
}

Semantic roles & 50–950 ramp

primary
#D0B031
secondary
#8B99D2
accent
#63E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B031

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

Preview Lab → · Contrast checker → · Palette generator →

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