#D0BF54#D0BF54

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

Color values

HEX#D0BF54
RGBrgb(208, 191, 84)
HSLhsl(52, 57%, 57%)
HSVhsv(52, 60%, 82%)
CMYKcmyk(0%, 8.2%, 59.6%, 18.4%)
CIE-LABlab(76.87, -7.04, 54.90)
CIE-LCHlch(76.87, 55.35, 97.30°)
OKLaboklab(79.82% -0.0231 0.1265)
OKLCHoklch(79.82% 0.129 100.3)
XYZxyz(46.2452, 51.3135, 15.8543)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0BF54 #5465D0
analogous
#D08154 #D0BF54 #A3D054
triadic
#D0BF54 #54D0BF #BF54D0
tetradic
#D0BF54 #54D081 #5465D0 #D054A3
square
#D0BF54 #54D081 #5465D0 #D054A3
split-complementary
#D0BF54 #54A3D0 #8154D0
monochromatic
#857825 #B5A332 #D0BF54 #DDD184 #EAE3B4

Accessibility & contrast

On white

1.86
#D0BF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0BF54#FFFFFF#000000##000000
##D0BF541.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA49
Deuteranopia (green-blind)
#D4C159
Tritanopia (blue-blind)
#DFB3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0bf54;
/* rgb */ color: rgb(208, 191, 84);
/* oklch */ color: oklch(79.8% 0.129 100.3);
Tailwind
colors: {
  custom: {
    50: '#e1d288',
    500: '#d0bf54',
    950: '#000000',
  },
}
SCSS
$custom: #d0bf54;
$custom-light: #e1d288;
$custom-dark: #000000;
JSON
{
  "hex": "#d0bf54",
  "rgb": {
    "r": 208,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 51.774,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79819,
    "c": 0.12859,
    "h": 100.3
  },
  "luminance": 0.51312
}

Semantic roles & 50–950 ramp

primary
#D0BF54
secondary
#3C478C
accent
#5DE048
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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