#D0B131#D0B131

#D0B131 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.143 H 94.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#D0B131
RGBrgb(208, 177, 49)
HSLhsl(48, 63%, 50%)
HSVhsv(48, 76%, 82%)
CMYKcmyk(0%, 14.9%, 76.4%, 18.4%)
CIE-LABlab(72.94, -1.66, 65.02)
CIE-LCHlch(72.94, 65.05, 91.46°)
OKLaboklab(76.63% -0.0116 0.1421)
OKLCHoklch(76.63% 0.143 94.7)
XYZxyz(42.2913, 45.0783, 9.3786)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B131 #3150D0
analogous
#D06131 #D0B131 #9FD031
triadic
#D0B131 #31D0B1 #B131D0
tetradic
#D0B131 #31D061 #3150D0 #D0319F
square
#D0B131 #31D061 #3150D0 #D0319F
split-complementary
#D0B131 #319FD0 #6131D0
monochromatic
#6E5D19 #9F8724 #D0B131 #DBC463 #E7D795

Accessibility & contrast

On white

2.10
#D0B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#D0B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B131
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B131#FFFFFF#000000##000000
##D0B1311.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE17
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#E1A399
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d0b131;
/* rgb */ color: rgb(208, 177, 49);
/* oklch */ color: oklch(76.6% 0.143 94.7);
Tailwind
colors: {
  custom: {
    50: '#e3c773',
    500: '#d0b131',
    950: '#000000',
  },
}
SCSS
$custom: #d0b131;
$custom-light: #e3c773;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b131",
  "rgb": {
    "r": 208,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 48.302,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76626,
    "c": 0.14262,
    "h": 94.7
  },
  "luminance": 0.45076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0B131

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

Preview Lab → · Contrast checker → · Palette generator →

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