#D0B640#D0B640

#D0B640 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.8% C 0.137 H 96.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#D0B640
RGBrgb(208, 182, 64)
HSLhsl(49, 61%, 53%)
HSVhsv(49, 69%, 82%)
CMYKcmyk(0%, 12.5%, 69.2%, 18.4%)
CIE-LABlab(74.34, -3.59, 60.77)
CIE-LCHlch(74.34, 60.87, 93.38°)
OKLaboklab(77.76% -0.0155 0.1359)
OKLCHoklch(77.76% 0.137 96.5)
XYZxyz(43.6679, 47.2382, 11.6673)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B640 #405AD0
analogous
#D06E40 #D0B640 #A2D040
triadic
#D0B640 #40D0B6 #B640D0
tetradic
#D0B640 #40D06E #405AD0 #D040A2
square
#D0B640 #40D06E #405AD0 #D040A2
split-complementary
#D0B640 #40A2D0 #6E40D0
monochromatic
#78681E #A9922A #D0B640 #DCC971 #E8DCA2

Accessibility & contrast

On white

2.01
#D0B640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#D0B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B640
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B640#FFFFFF#000000##000000
##D0B6401.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#CFBA47
Tritanopia (blue-blind)
#E0A89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d0b640;
/* rgb */ color: rgb(208, 182, 64);
/* oklch */ color: oklch(77.8% 0.137 96.5);
Tailwind
colors: {
  custom: {
    50: '#e2cb7b',
    500: '#d0b640',
    950: '#000000',
  },
}
SCSS
$custom: #d0b640;
$custom-light: #e2cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b640",
  "rgb": {
    "r": 208,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 49.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77763,
    "c": 0.13681,
    "h": 96.5
  },
  "luminance": 0.47236
}

Semantic roles & 50–950 ramp

primary
#D0B640
secondary
#97A2D5
accent
#61E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B640

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

Preview Lab → · Contrast checker → · Palette generator →

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