#D0BA2D#D0BA2D

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

Color values

HEX#D0BA2D
RGBrgb(208, 186, 45)
HSLhsl(52, 64%, 50%)
HSVhsv(52, 78%, 82%)
CMYKcmyk(0%, 10.6%, 78.4%, 18.4%)
CIE-LABlab(75.28, -6.50, 68.46)
CIE-LCHlch(75.28, 68.77, 95.43°)
OKLaboklab(78.47% -0.0257 0.1487)
OKLCHoklch(78.47% 0.151 99.8)
XYZxyz(44.0472, 48.7194, 9.5658)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BA2D #2D43D0
analogous
#D0692D #D0BA2D #95D02D
triadic
#D0BA2D #2DD0BA #BA2DD0
tetradic
#D0BA2D #2DD069 #2D43D0 #D02D95
square
#D0BA2D #2DD069 #2D43D0 #D02D95
split-complementary
#D0BA2D #2D95D0 #692DD0
monochromatic
#6B6017 #9E8D22 #D0BA2D #DCCB5E #E7DB90

Accessibility & contrast

On white

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

On black

10.74
#D0BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0BA2D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0BA2D#FFFFFF#000000##000000
##D0BA2D1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB505
Deuteranopia (green-blind)
#D3BD38
Tritanopia (blue-blind)
#E1ACA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d0ba2d;
/* rgb */ color: rgb(208, 186, 45);
/* oklch */ color: oklch(78.5% 0.151 99.8);
Tailwind
colors: {
  custom: {
    50: '#e3ce72',
    500: '#d0ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #d0ba2d;
$custom-light: #e3ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ba2d",
  "rgb": {
    "r": 208,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 51.902,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78467,
    "c": 0.15092,
    "h": 99.8
  },
  "luminance": 0.48717
}

Semantic roles & 50–950 ramp

primary
#D0BA2D
secondary
#8791D2
accent
#57E740
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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