#D0B840#D0B840

#D0B840 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.138 H 97.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D0B840
RGBrgb(208, 184, 64)
HSLhsl(50, 61%, 53%)
HSVhsv(50, 69%, 82%)
CMYKcmyk(0%, 11.5%, 69.2%, 18.4%)
CIE-LABlab(74.86, -4.63, 61.30)
CIE-LCHlch(74.86, 61.47, 94.32°)
OKLaboklab(78.18% -0.0185 0.137)
OKLCHoklch(78.18% 0.138 97.7)
XYZxyz(44.0804, 48.0632, 11.8048)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B840 #4058D0
analogous
#D07040 #D0B840 #A0D040
triadic
#D0B840 #40D0B8 #B840D0
tetradic
#D0B840 #40D070 #4058D0 #D040A0
square
#D0B840 #40D070 #4058D0 #D040A0
split-complementary
#D0B840 #40A0D0 #7040D0
monochromatic
#78691E #A9942A #D0B840 #DCCA71 #E8DDA2

Accessibility & contrast

On white

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

On black

10.61
#D0B840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B840
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B840#FFFFFF#000000##000000
##D0B8401.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42F
Deuteranopia (green-blind)
#D0BC47
Tritanopia (blue-blind)
#E0AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d0b840;
/* rgb */ color: rgb(208, 184, 64);
/* oklch */ color: oklch(78.2% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#e2cd7c',
    500: '#d0b840',
    950: '#000000',
  },
}
SCSS
$custom: #d0b840;
$custom-light: #e2cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b840",
  "rgb": {
    "r": 208,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 50,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78177,
    "c": 0.13829,
    "h": 97.7
  },
  "luminance": 0.48061
}

Semantic roles & 50–950 ramp

primary
#D0B840
secondary
#97A1D5
accent
#5FE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B840

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

Preview Lab → · Contrast checker → · Palette generator →

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