#D0AC38#D0AC38

#D0AC38 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.7% C 0.136 H 91.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#D0AC38
RGBrgb(208, 172, 56)
HSLhsl(46, 62%, 52%)
HSVhsv(46, 73%, 82%)
CMYKcmyk(0%, 17.3%, 73.1%, 18.4%)
CIE-LABlab(71.69, 1.28, 61.28)
CIE-LCHlch(71.69, 61.29, 88.81°)
OKLaboklab(75.65% -0.0025 0.1355)
OKLCHoklch(75.65% 0.136 91.1)
XYZxyz(41.4811, 43.2030, 9.8948)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AC38 #385CD0
analogous
#D06038 #D0AC38 #A8D038
triadic
#D0AC38 #38D0AC #AC38D0
tetradic
#D0AC38 #38D060 #385CD0 #D038A8
square
#D0AC38 #38D060 #385CD0 #D038A8
split-complementary
#D0AC38 #38A8D0 #6038D0
monochromatic
#735E1B #A48627 #D0AC38 #DCC16A #E7D59B

Accessibility & contrast

On white

2.18
#D0AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#D0AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AC38
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AC38#FFFFFF#000000##000000
##D0AC381.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA26
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#E19E95
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d0ac38;
/* rgb */ color: rgb(208, 172, 56);
/* oklch */ color: oklch(75.7% 0.136 91.1);
Tailwind
colors: {
  custom: {
    50: '#e3c476',
    500: '#d0ac38',
    950: '#000000',
  },
}
SCSS
$custom: #d0ac38;
$custom-light: #e3c476;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ac38",
  "rgb": {
    "r": 208,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 45.789,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75652,
    "c": 0.13556,
    "h": 91.1
  },
  "luminance": 0.432
}

Semantic roles & 50–950 ramp

primary
#D0AC38
secondary
#91A0D3
accent
#69E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D0AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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