#D0B751#D0B751

#D0B751 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.125 H 95.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#D0B751
RGBrgb(208, 183, 81)
HSLhsl(48, 57%, 57%)
HSVhsv(48, 61%, 82%)
CMYKcmyk(0%, 12%, 61.1%, 18.4%)
CIE-LABlab(74.74, -3.09, 53.90)
CIE-LCHlch(74.74, 53.98, 93.28°)
OKLaboklab(78.13% -0.0121 0.124)
OKLCHoklch(78.13% 0.125 95.6)
XYZxyz(44.4330, 47.8731, 14.6830)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B751 #516AD0
analogous
#D07851 #D0B751 #AAD051
triadic
#D0B751 #51D0B7 #B751D0
tetradic
#D0B751 #51D078 #516AD0 #D051AA
square
#D0B751 #51D078 #516AD0 #D051AA
split-complementary
#D0B751 #51AAD0 #7851D0
monochromatic
#837023 #B39A30 #D0B751 #DDCB81 #EADFB1

Accessibility & contrast

On white

1.99
#D0B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#D0B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B751
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B751#FFFFFF#000000##000000
##D0B7511.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B346
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#DFAAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d0b751;
/* rgb */ color: rgb(208, 183, 81);
/* oklch */ color: oklch(78.1% 0.125 95.6);
Tailwind
colors: {
  custom: {
    50: '#e1cc86',
    500: '#d0b751',
    950: '#000000',
  },
}
SCSS
$custom: #d0b751;
$custom-light: #e1cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b751",
  "rgb": {
    "r": 208,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 48.189,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78127,
    "c": 0.12456,
    "h": 95.6
  },
  "luminance": 0.47871
}

Semantic roles & 50–950 ramp

primary
#D0B751
secondary
#A4AFD8
accent
#65E147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B751

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

Preview Lab → · Contrast checker → · Palette generator →

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