#D0B848#D0B848

#D0B848 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.133 H 97.1°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#D0B848
RGBrgb(208, 184, 72)
HSLhsl(49, 59%, 55%)
HSVhsv(49, 65%, 82%)
CMYKcmyk(0%, 11.5%, 65.4%, 18.4%)
CIE-LABlab(74.93, -4.19, 58.06)
CIE-LCHlch(74.93, 58.21, 94.12°)
OKLaboklab(78.25% -0.0163 0.1315)
OKLCHoklch(78.25% 0.133 97.1)
XYZxyz(44.3246, 48.1609, 13.0909)
Luminance0.4816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B848 #4860D0
analogous
#D07448 #D0B848 #A4D048
triadic
#D0B848 #48D0B8 #B848D0
tetradic
#D0B848 #48D074 #4860D0 #D048A4
square
#D0B848 #48D074 #4860D0 #D048A4
split-complementary
#D0B848 #48A4D0 #7448D0
monochromatic
#7D6D20 #AE972D #D0B848 #DDCB79 #E9DEA9

Accessibility & contrast

On white

1.98
#D0B848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#D0B848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B848
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B848#FFFFFF#000000##000000
##D0B8481.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43A
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#E0ABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d0b848;
/* rgb */ color: rgb(208, 184, 72);
/* oklch */ color: oklch(78.2% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#e2cd80',
    500: '#d0b848',
    950: '#000000',
  },
}
SCSS
$custom: #d0b848;
$custom-light: #e2cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b848",
  "rgb": {
    "r": 208,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 49.412,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78245,
    "c": 0.13252,
    "h": 97.1
  },
  "luminance": 0.48159
}

Semantic roles & 50–950 ramp

primary
#D0B848
secondary
#9DA7D7
accent
#61E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B848

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

Preview Lab → · Contrast checker → · Palette generator →

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