#D0BA40#D0BA40

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

Color values

HEX#D0BA40
RGBrgb(208, 186, 64)
HSLhsl(51, 61%, 53%)
HSVhsv(51, 69%, 82%)
CMYKcmyk(0%, 10.6%, 69.2%, 18.4%)
CIE-LABlab(75.39, -5.67, 61.83)
CIE-LCHlch(75.39, 62.09, 95.24°)
OKLaboklab(78.59% -0.0215 0.1382)
OKLCHoklch(78.59% 0.14 98.8)
XYZxyz(44.4988, 48.9000, 11.9442)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BA40 #4056D0
analogous
#D07240 #D0BA40 #9ED040
triadic
#D0BA40 #40D0BA #BA40D0
tetradic
#D0BA40 #40D072 #4056D0 #D0409E
square
#D0BA40 #40D072 #4056D0 #D0409E
split-complementary
#D0BA40 #409ED0 #7240D0
monochromatic
#786A1E #A9962A #D0BA40 #DCCC71 #E8DDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0BA40#FFFFFF#000000##000000
##D0BA401.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)
#CCB52E
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#E0ACA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d0ba40;
/* rgb */ color: rgb(208, 186, 64);
/* oklch */ color: oklch(78.6% 0.140 98.8);
Tailwind
colors: {
  custom: {
    50: '#e2ce7c',
    500: '#d0ba40',
    950: '#000000',
  },
}
SCSS
$custom: #d0ba40;
$custom-light: #e2ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ba40",
  "rgb": {
    "r": 208,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 50.833,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78592,
    "c": 0.13982,
    "h": 98.8
  },
  "luminance": 0.48898
}

Semantic roles & 50–950 ramp

primary
#D0BA40
secondary
#97A0D5
accent
#5DE444
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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