#D0B451#D0B451

#D0B451 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.122 H 93.6°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#D0B451
RGBrgb(208, 180, 81)
HSLhsl(47, 57%, 57%)
HSVhsv(47, 61%, 82%)
CMYKcmyk(0%, 13.5%, 61.1%, 18.4%)
CIE-LABlab(73.96, -1.51, 53.03)
CIE-LCHlch(73.96, 53.05, 91.64°)
OKLaboklab(77.51% -0.0076 0.1221)
OKLCHoklch(77.51% 0.122 93.6)
XYZxyz(43.8208, 46.6487, 14.4789)
Luminance0.4665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B451 #516DD0
analogous
#D07551 #D0B451 #ACD051
triadic
#D0B451 #51D0B4 #B451D0
tetradic
#D0B451 #51D075 #516DD0 #D051AC
square
#D0B451 #51D075 #516DD0 #D051AC
split-complementary
#D0B451 #51ACD0 #7551D0
monochromatic
#836E23 #B39630 #D0B451 #DDC981 #EADEB1

Accessibility & contrast

On white

2.03
#D0B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#D0B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B451
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B451#FFFFFF#000000##000000
##D0B4511.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#CCB955
Tritanopia (blue-blind)
#E0A79E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d0b451;
/* rgb */ color: rgb(208, 180, 81);
/* oklch */ color: oklch(77.5% 0.122 93.6);
Tailwind
colors: {
  custom: {
    50: '#e1ca85',
    500: '#d0b451',
    950: '#000000',
  },
}
SCSS
$custom: #d0b451;
$custom-light: #e1ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b451",
  "rgb": {
    "r": 208,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 46.772,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7751,
    "c": 0.12235,
    "h": 93.6
  },
  "luminance": 0.46646
}

Semantic roles & 50–950 ramp

primary
#D0B451
secondary
#A4B0D8
accent
#69E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B451

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

Preview Lab → · Contrast checker → · Palette generator →

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