#D0B151#D0B151

#D0B151 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.9% C 0.120 H 91.4°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#D0B151
RGBrgb(208, 177, 81)
HSLhsl(45, 57%, 57%)
HSVhsv(45, 61%, 82%)
CMYKcmyk(0%, 14.9%, 61.1%, 18.4%)
CIE-LABlab(73.19, 0.07, 52.16)
CIE-LCHlch(73.19, 52.16, 89.93°)
OKLaboklab(76.9% -0.003 0.1203)
OKLCHoklch(76.9% 0.12 91.4)
XYZxyz(43.2218, 45.4505, 14.2792)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B151 #5170D0
analogous
#D07251 #D0B151 #B0D051
triadic
#D0B151 #51D0B1 #B151D0
tetradic
#D0B151 #51D072 #5170D0 #D051B0
square
#D0B151 #51D072 #5170D0 #D051B0
split-complementary
#D0B151 #51B0D0 #7251D0
monochromatic
#836C23 #B39330 #D0B151 #DDC781 #EADCB1

Accessibility & contrast

On white

2.08
#D0B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#D0B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B151
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B151#FFFFFF#000000##000000
##D0B1511.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF47
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#E0A49C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d0b151;
/* rgb */ color: rgb(208, 177, 81);
/* oklch */ color: oklch(76.9% 0.120 91.4);
Tailwind
colors: {
  custom: {
    50: '#e1c885',
    500: '#d0b151',
    950: '#000000',
  },
}
SCSS
$custom: #d0b151;
$custom-light: #e1c885;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b151",
  "rgb": {
    "r": 208,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 45.354,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76897,
    "c": 0.1203,
    "h": 91.4
  },
  "luminance": 0.45448
}

Semantic roles & 50–950 ramp

primary
#D0B151
secondary
#A4B1D8
accent
#6DE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B151

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

Preview Lab → · Contrast checker → · Palette generator →

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