#D0B84F#D0B84F

#D0B84F is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.127 H 96.4°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#D0B84F
RGBrgb(208, 184, 79)
HSLhsl(49, 58%, 56%)
HSVhsv(49, 62%, 82%)
CMYKcmyk(0%, 11.5%, 62%, 18.4%)
CIE-LABlab(74.99, -3.74, 55.06)
CIE-LCHlch(74.99, 55.19, 93.89°)
OKLaboklab(78.31% -0.0142 0.1262)
OKLCHoklch(78.31% 0.127 96.4)
XYZxyz(44.5661, 48.2575, 14.3628)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B84F #4F67D0
analogous
#D0784F #D0B84F #A8D04F
triadic
#D0B84F #4FD0B8 #B84FD0
tetradic
#D0B84F #4FD078 #4F67D0 #D04FA8
square
#D0B84F #4FD078 #4F67D0 #D04FA8
split-complementary
#D0B84F #4FA8D0 #784FD0
monochromatic
#827023 #B29A30 #D0B84F #DDCB7F #EADFB0

Accessibility & contrast

On white

1.97
#D0B84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#D0B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B84F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B84F#FFFFFF#000000##000000
##D0B84F1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#DFABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d0b84f;
/* rgb */ color: rgb(208, 184, 79);
/* oklch */ color: oklch(78.3% 0.127 96.4);
Tailwind
colors: {
  custom: {
    50: '#e1cd84',
    500: '#d0b84f',
    950: '#000000',
  },
}
SCSS
$custom: #d0b84f;
$custom-light: #e1cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b84f",
  "rgb": {
    "r": 208,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 48.837,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78313,
    "c": 0.12699,
    "h": 96.4
  },
  "luminance": 0.48255
}

Semantic roles & 50–950 ramp

primary
#D0B84F
secondary
#A3ADD8
accent
#63E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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