#D2BB52#D2BB52

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

Color values

HEX#D2BB52
RGBrgb(210, 187, 82)
HSLhsl(49, 59%, 57%)
HSVhsv(49, 61%, 82%)
CMYKcmyk(0%, 11%, 61%, 17.6%)
CIE-LABlab(75.98, -4.26, 54.86)
CIE-LCHlch(75.98, 55.03, 94.44°)
OKLaboklab(79.15% -0.0155 0.1261)
OKLCHoklch(79.15% 0.127 97)
XYZxyz(45.8736, 49.8536, 15.1874)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB52 #5269D2
analogous
#D27B52 #D2BB52 #A9D252
triadic
#D2BB52 #52D2BB #BB52D2
tetradic
#D2BB52 #52D27B #5269D2 #D252A9
square
#D2BB52 #52D27B #5269D2 #D252A9
split-complementary
#D2BB52 #52A9D2 #7B52D2
monochromatic
#877523 #B79F30 #D2BB52 #DFCE83 #EBE1B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BB52#FFFFFF#000000##000000
##D2BB521.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)
#CCB747
Deuteranopia (green-blind)
#D2BF57
Tritanopia (blue-blind)
#E1AEA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bb52;
/* rgb */ color: rgb(210, 187, 82);
/* oklch */ color: oklch(79.1% 0.127 97.0);
Tailwind
colors: {
  custom: {
    50: '#e3cf87',
    500: '#d2bb52',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb52;
$custom-light: #e3cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb52",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 49.219,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7915,
    "c": 0.12707,
    "h": 97
  },
  "luminance": 0.49851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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