#D0AB3C#D0AB3C

#D0AB3C is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.5% C 0.132 H 90.0°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#D0AB3C
RGBrgb(208, 171, 60)
HSLhsl(45, 61%, 53%)
HSVhsv(45, 71%, 82%)
CMYKcmyk(0%, 17.8%, 71.2%, 18.4%)
CIE-LABlab(71.46, 2.00, 59.47)
CIE-LCHlch(71.46, 59.50, 88.07°)
OKLaboklab(75.48% 0 0.1325)
OKLCHoklch(75.48% 0.132 90)
XYZxyz(41.3932, 42.8645, 10.3675)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AB3C #3C61D0
analogous
#D0613C #D0AB3C #ABD03C
triadic
#D0AB3C #3CD0AB #AB3CD0
tetradic
#D0AB3C #3CD061 #3C61D0 #D03CAB
square
#D0AB3C #3CD061 #3C61D0 #D03CAB
split-complementary
#D0AB3C #3CABD0 #613CD0
monochromatic
#755F1C #A78728 #D0AB3C #DCC06D #E8D59F

Accessibility & contrast

On white

2.19
#D0AB3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#D0AB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AB3C
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AB3C#FFFFFF#000000##000000
##D0AB3C1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92C
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#E19D94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d0ab3c;
/* rgb */ color: rgb(208, 171, 60);
/* oklch */ color: oklch(75.5% 0.132 90.0);
Tailwind
colors: {
  custom: {
    50: '#e2c378',
    500: '#d0ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #d0ab3c;
$custom-light: #e2c378;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ab3c",
  "rgb": {
    "r": 208,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 45,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75479,
    "c": 0.13246,
    "h": 90
  },
  "luminance": 0.42862
}

Semantic roles & 50–950 ramp

primary
#D0AB3C
secondary
#94A4D4
accent
#6CE444
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D0AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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