#D2BB51#D2BB51

#D2BB51 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.128 H 97.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#D2BB51
RGBrgb(210, 187, 81)
HSLhsl(49, 59%, 57%)
HSVhsv(49, 61%, 82%)
CMYKcmyk(0%, 11%, 61.4%, 17.6%)
CIE-LABlab(75.97, -4.33, 55.30)
CIE-LCHlch(75.97, 55.47, 94.47°)
OKLaboklab(79.14% -0.0158 0.1269)
OKLCHoklch(79.14% 0.128 97.1)
XYZxyz(45.8358, 49.8385, 14.9884)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB51 #5168D2
analogous
#D27A51 #D2BB51 #A9D251
triadic
#D2BB51 #51D2BB #BB51D2
tetradic
#D2BB51 #51D27A #5168D2 #D251A9
square
#D2BB51 #51D27A #5168D2 #D251A9
split-complementary
#D2BB51 #51A9D2 #7A51D2
monochromatic
#867423 #B79E2F #D2BB51 #DFCE82 #EBE1B2

Accessibility & contrast

On white

1.91
#D2BB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#D2BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB51
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB51#FFFFFF#000000##000000
##D2BB511.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB745
Deuteranopia (green-blind)
#D2BF56
Tritanopia (blue-blind)
#E1AEA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bb51;
/* rgb */ color: rgb(210, 187, 81);
/* oklch */ color: oklch(79.1% 0.128 97.1);
Tailwind
colors: {
  custom: {
    50: '#e3cf86',
    500: '#d2bb51',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb51;
$custom-light: #e3cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb51",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 49.302,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7914,
    "c": 0.1279,
    "h": 97.1
  },
  "luminance": 0.49836
}

Semantic roles & 50–950 ramp

primary
#D2BB51
secondary
#A5AFDA
accent
#62E246
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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