#D0BA2E#D0BA2E

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

Color values

HEX#D0BA2E
RGBrgb(208, 186, 46)
HSLhsl(52, 64%, 50%)
HSVhsv(52, 78%, 82%)
CMYKcmyk(0%, 10.6%, 77.9%, 18.4%)
CIE-LABlab(75.28, -6.47, 68.15)
CIE-LCHlch(75.28, 68.46, 95.42°)
OKLaboklab(78.47% -0.0255 0.1482)
OKLCHoklch(78.47% 0.15 99.8)
XYZxyz(44.0667, 48.7271, 9.6684)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BA2E #2E44D0
analogous
#D0692E #D0BA2E #95D02E
triadic
#D0BA2E #2ED0BA #BA2ED0
tetradic
#D0BA2E #2ED069 #2E44D0 #D02E95
square
#D0BA2E #2ED069 #2E44D0 #D02E95
split-complementary
#D0BA2E #2E95D0 #692ED0
monochromatic
#6C6018 #9E8D23 #D0BA2E #DCCB5F #E7DB92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0BA2E#FFFFFF#000000##000000
##D0BA2E1.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)
#CDB509
Deuteranopia (green-blind)
#D3BD38
Tritanopia (blue-blind)
#E1ACA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d0ba2e;
/* rgb */ color: rgb(208, 186, 46);
/* oklch */ color: oklch(78.5% 0.150 99.8);
Tailwind
colors: {
  custom: {
    50: '#e3ce73',
    500: '#d0ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #d0ba2e;
$custom-light: #e3ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ba2e",
  "rgb": {
    "r": 208,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 51.852,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78473,
    "c": 0.15042,
    "h": 99.8
  },
  "luminance": 0.48725
}

Semantic roles & 50–950 ramp

primary
#D0BA2E
secondary
#8892D2
accent
#58E741
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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