#D0BA2F#D0BA2F

#D0BA2F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.150 H 99.7°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D0BA2F
RGBrgb(208, 186, 47)
HSLhsl(52, 63%, 50%)
HSVhsv(52, 77%, 82%)
CMYKcmyk(0%, 10.6%, 77.4%, 18.4%)
CIE-LABlab(75.29, -6.43, 67.84)
CIE-LCHlch(75.29, 68.15, 95.42°)
OKLaboklab(78.48% -0.0253 0.1478)
OKLCHoklch(78.48% 0.15 99.7)
XYZxyz(44.0866, 48.7351, 9.7734)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BA2F #2F45D0
analogous
#D0692F #D0BA2F #96D02F
triadic
#D0BA2F #2FD0BA #BA2FD0
tetradic
#D0BA2F #2FD069 #2F45D0 #D02F96
square
#D0BA2F #2FD069 #2F45D0 #D02F96
split-complementary
#D0BA2F #2F96D0 #692FD0
monochromatic
#6C6118 #9E8D24 #D0BA2F #DBCB61 #E7DB93

Accessibility & contrast

On white

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

On black

10.75
#D0BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0BA2F
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0BA2F#FFFFFF#000000##000000
##D0BA2F1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB50C
Deuteranopia (green-blind)
#D2BD39
Tritanopia (blue-blind)
#E0ACA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d0ba2f;
/* rgb */ color: rgb(208, 186, 47);
/* oklch */ color: oklch(78.5% 0.150 99.7);
Tailwind
colors: {
  custom: {
    50: '#e3ce73',
    500: '#d0ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #d0ba2f;
$custom-light: #e3ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ba2f",
  "rgb": {
    "r": 208,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 51.801,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.78478,
    "c": 0.14993,
    "h": 99.7
  },
  "luminance": 0.48733
}

Semantic roles & 50–950 ramp

primary
#D0BA2F
secondary
#8993D1
accent
#58E642
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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