#D0AB3B#D0AB3B

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

Color values

HEX#D0AB3B
RGBrgb(208, 171, 59)
HSLhsl(45, 61%, 52%)
HSVhsv(45, 72%, 82%)
CMYKcmyk(0%, 17.8%, 71.6%, 18.4%)
CIE-LABlab(71.46, 1.95, 59.87)
CIE-LCHlch(71.46, 59.90, 88.13°)
OKLaboklab(75.47% -0.0002 0.1331)
OKLCHoklch(75.47% 0.133 90.1)
XYZxyz(41.3671, 42.8540, 10.2296)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AB3B #3B60D0
analogous
#D0613B #D0AB3B #AAD03B
triadic
#D0AB3B #3BD0AB #AB3BD0
tetradic
#D0AB3B #3BD061 #3B60D0 #D03BAA
square
#D0AB3B #3BD061 #3B60D0 #D03BAA
split-complementary
#D0AB3B #3BAAD0 #613BD0
monochromatic
#755F1C #A68728 #D0AB3B #DCC06C #E8D59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0AB3B#FFFFFF#000000##000000
##D0AB3B1.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)
#BEA92B
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#E19D94
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d0ab3b;
/* rgb */ color: rgb(208, 171, 59);
/* oklch */ color: oklch(75.5% 0.133 90.1);
Tailwind
colors: {
  custom: {
    50: '#e2c378',
    500: '#d0ab3b',
    950: '#000000',
  },
}
SCSS
$custom: #d0ab3b;
$custom-light: #e2c378;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ab3b",
  "rgb": {
    "r": 208,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 45.101,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75472,
    "c": 0.13311,
    "h": 90.1
  },
  "luminance": 0.42851
}

Semantic roles & 50–950 ramp

primary
#D0AB3B
secondary
#93A3D4
accent
#6BE443
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D0AB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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