#D0BD52#D0BD52

#D0BD52 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.129 H 99.3°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#D0BD52
RGBrgb(208, 189, 82)
HSLhsl(51, 57%, 57%)
HSVhsv(51, 61%, 82%)
CMYKcmyk(0%, 9.1%, 60.6%, 18.4%)
CIE-LABlab(76.32, -6.14, 55.19)
CIE-LCHlch(76.32, 55.53, 96.35°)
OKLaboklab(79.38% -0.0208 0.1269)
OKLCHoklch(79.38% 0.129 99.3)
XYZxyz(45.7348, 50.4162, 15.3033)
Luminance0.5041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BD52 #5265D0
analogous
#D07E52 #D0BD52 #A4D052
triadic
#D0BD52 #52D0BD #BD52D0
tetradic
#D0BD52 #52D07E #5265D0 #D052A4
square
#D0BD52 #52D07E #5265D0 #D052A4
split-complementary
#D0BD52 #52A4D0 #7E52D0
monochromatic
#847524 #B4A031 #D0BD52 #DDCF82 #EAE2B2

Accessibility & contrast

On white

1.89
#D0BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#D0BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0BD52
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0BD52#FFFFFF#000000##000000
##D0BD521.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB846
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#DFB0A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d0bd52;
/* rgb */ color: rgb(208, 189, 82);
/* oklch */ color: oklch(79.4% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#e1d087',
    500: '#d0bd52',
    950: '#000000',
  },
}
SCSS
$custom: #d0bd52;
$custom-light: #e1d087;
$custom-dark: #000000;
JSON
{
  "hex": "#d0bd52",
  "rgb": {
    "r": 208,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 50.952,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79381,
    "c": 0.12856,
    "h": 99.3
  },
  "luminance": 0.50414
}

Semantic roles & 50–950 ramp

primary
#D0BD52
secondary
#3B478B
accent
#5EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D0BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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