#D0BF52#D0BF52

#D0BF52 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.130 H 100.5°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D0BF52
RGBrgb(208, 191, 82)
HSLhsl(52, 57%, 57%)
HSVhsv(52, 61%, 82%)
CMYKcmyk(0%, 8.2%, 60.6%, 18.4%)
CIE-LABlab(76.85, -7.17, 55.77)
CIE-LCHlch(76.85, 56.23, 97.33°)
OKLaboklab(79.8% -0.0237 0.1281)
OKLCHoklch(79.8% 0.13 100.5)
XYZxyz(46.1680, 51.2826, 15.4477)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BF52 #5263D0
analogous
#D08052 #D0BF52 #A2D052
triadic
#D0BF52 #52D0BF #BF52D0
tetradic
#D0BF52 #52D080 #5263D0 #D052A2
square
#D0BF52 #52D080 #5263D0 #D052A2
split-complementary
#D0BF52 #52A2D0 #8052D0
monochromatic
#847724 #B4A231 #D0BF52 #DDD182 #EAE3B2

Accessibility & contrast

On white

1.87
#D0BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#D0BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0BF52
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0BF52#FFFFFF#000000##000000
##D0BF521.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA46
Deuteranopia (green-blind)
#D4C158
Tritanopia (blue-blind)
#DFB2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0bf52;
/* rgb */ color: rgb(208, 191, 82);
/* oklch */ color: oklch(79.8% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#e1d287',
    500: '#d0bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d0bf52;
$custom-light: #e1d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d0bf52",
  "rgb": {
    "r": 208,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 51.905,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79798,
    "c": 0.13029,
    "h": 100.5
  },
  "luminance": 0.51281
}

Semantic roles & 50–950 ramp

primary
#D0BF52
secondary
#3B468B
accent
#5CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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