#D2BF54#D2BF54

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

Color values

HEX#D2BF54
RGBrgb(210, 191, 84)
HSLhsl(51, 58%, 58%)
HSVhsv(51, 60%, 82%)
CMYKcmyk(0%, 9%, 60%, 17.6%)
CIE-LABlab(77.04, -6.20, 55.14)
CIE-LCHlch(77.04, 55.49, 96.41°)
OKLaboklab(80% -0.0208 0.127)
OKLCHoklch(80% 0.129 99.3)
XYZxyz(46.8112, 51.6053, 15.8809)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF54 #5467D2
analogous
#D28054 #D2BF54 #A6D254
triadic
#D2BF54 #54D2BF #BF54D2
tetradic
#D2BF54 #54D280 #5467D2 #D254A6
square
#D2BF54 #54D280 #5467D2 #D254A6
split-complementary
#D2BF54 #54A6D2 #8054D2
monochromatic
#887924 #B8A431 #D2BF54 #DFD184 #EBE3B5

Accessibility & contrast

On white

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

On black

11.32
#D2BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF54
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF54#FFFFFF#000000##000000
##D2BF541.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA48
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#E1B2A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf54;
/* rgb */ color: rgb(210, 191, 84);
/* oklch */ color: oklch(80.0% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#e3d288',
    500: '#d2bf54',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf54;
$custom-light: #e3d288;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf54",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 50.952,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8,
    "c": 0.12867,
    "h": 99.3
  },
  "luminance": 0.51603
}

Semantic roles & 50–950 ramp

primary
#D2BF54
secondary
#3C488E
accent
#5EE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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