#D0BA4F#D0BA4F

#D0BA4F is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.129 H 97.7°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#D0BA4F
RGBrgb(208, 186, 79)
HSLhsl(50, 58%, 56%)
HSVhsv(50, 62%, 82%)
CMYKcmyk(0%, 10.6%, 62%, 18.4%)
CIE-LABlab(75.51, -4.79, 55.64)
CIE-LCHlch(75.51, 55.84, 94.92°)
OKLaboklab(78.73% -0.0172 0.1274)
OKLCHoklch(78.73% 0.129 97.7)
XYZxyz(44.9845, 49.0943, 14.5023)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BA4F #4F65D0
analogous
#D07A4F #D0BA4F #A6D04F
triadic
#D0BA4F #4FD0BA #BA4FD0
tetradic
#D0BA4F #4FD07A #4F65D0 #D04FA6
square
#D0BA4F #4FD07A #4F65D0 #D04FA6
split-complementary
#D0BA4F #4FA6D0 #7A4FD0
monochromatic
#827223 #B29C30 #D0BA4F #DDCD7F #EAE0B0

Accessibility & contrast

On white

1.94
#D0BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#D0BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0BA4F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0BA4F#FFFFFF#000000##000000
##D0BA4F1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#DFADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d0ba4f;
/* rgb */ color: rgb(208, 186, 79);
/* oklch */ color: oklch(78.7% 0.129 97.7);
Tailwind
colors: {
  custom: {
    50: '#e1ce85',
    500: '#d0ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #d0ba4f;
$custom-light: #e1ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ba4f",
  "rgb": {
    "r": 208,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 49.767,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78727,
    "c": 0.12857,
    "h": 97.7
  },
  "luminance": 0.49092
}

Semantic roles & 50–950 ramp

primary
#D0BA4F
secondary
#A3ACD8
accent
#61E147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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