#D0B440#D0B440

#D0B440 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.135 H 95.3°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#D0B440
RGBrgb(208, 180, 64)
HSLhsl(48, 61%, 53%)
HSVhsv(48, 69%, 82%)
CMYKcmyk(0%, 13.5%, 69.2%, 18.4%)
CIE-LABlab(73.82, -2.54, 60.24)
CIE-LCHlch(73.82, 60.29, 92.42°)
OKLaboklab(77.35% -0.0126 0.1348)
OKLCHoklch(77.35% 0.135 95.3)
XYZxyz(43.2612, 46.4249, 11.5317)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B440 #405CD0
analogous
#D06C40 #D0B440 #A4D040
triadic
#D0B440 #40D0B4 #B440D0
tetradic
#D0B440 #40D06C #405CD0 #D040A4
square
#D0B440 #40D06C #405CD0 #D040A4
split-complementary
#D0B440 #40A4D0 #6C40D0
monochromatic
#78661E #A9902A #D0B440 #DCC771 #E8DBA2

Accessibility & contrast

On white

2.04
#D0B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#D0B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B440
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B440#FFFFFF#000000##000000
##D0B4401.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#CDB946
Tritanopia (blue-blind)
#E0A69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d0b440;
/* rgb */ color: rgb(208, 180, 64);
/* oklch */ color: oklch(77.3% 0.135 95.3);
Tailwind
colors: {
  custom: {
    50: '#e2ca7b',
    500: '#d0b440',
    950: '#000000',
  },
}
SCSS
$custom: #d0b440;
$custom-light: #e2ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b440",
  "rgb": {
    "r": 208,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 48.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7735,
    "c": 0.13538,
    "h": 95.3
  },
  "luminance": 0.46423
}

Semantic roles & 50–950 ramp

primary
#D0B440
secondary
#97A3D5
accent
#63E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B440

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

Preview Lab → · Contrast checker → · Palette generator →

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