#D0BA3F#D0BA3F

#D0BA3F is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.140 H 98.9°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#D0BA3F
RGBrgb(208, 186, 63)
HSLhsl(51, 61%, 53%)
HSVhsv(51, 70%, 82%)
CMYKcmyk(0%, 10.6%, 69.7%, 18.4%)
CIE-LABlab(75.38, -5.72, 62.21)
CIE-LCHlch(75.38, 62.48, 95.26°)
OKLaboklab(78.59% -0.0217 0.1388)
OKLCHoklch(78.59% 0.14 98.9)
XYZxyz(44.4706, 48.8887, 11.7957)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BA3F #3F55D0
analogous
#D0723F #D0BA3F #9DD03F
triadic
#D0BA3F #3FD0BA #BA3FD0
tetradic
#D0BA3F #3FD072 #3F55D0 #D03F9D
square
#D0BA3F #3FD072 #3F55D0 #D03F9D
split-complementary
#D0BA3F #3F9DD0 #723FD0
monochromatic
#776A1D #A99529 #D0BA3F #DCCC70 #E8DDA1

Accessibility & contrast

On white

1.95
#D0BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#D0BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0BA3F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0BA3F#FFFFFF#000000##000000
##D0BA3F1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52D
Deuteranopia (green-blind)
#D2BD46
Tritanopia (blue-blind)
#E0ACA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d0ba3f;
/* rgb */ color: rgb(208, 186, 63);
/* oklch */ color: oklch(78.6% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#e2ce7b',
    500: '#d0ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #d0ba3f;
$custom-light: #e2ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ba3f",
  "rgb": {
    "r": 208,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 50.897,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78585,
    "c": 0.14049,
    "h": 98.9
  },
  "luminance": 0.48887
}

Semantic roles & 50–950 ramp

primary
#D0BA3F
secondary
#96A0D5
accent
#5CE444
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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