#D2B552#D2B552

#D2B552 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.123 H 93.0°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#D2B552
RGBrgb(210, 181, 82)
HSLhsl(46, 59%, 57%)
HSVhsv(46, 61%, 82%)
CMYKcmyk(0%, 13.8%, 61%, 17.6%)
CIE-LABlab(74.42, -1.12, 53.13)
CIE-LCHlch(74.42, 53.14, 91.21°)
OKLaboklab(77.92% -0.0065 0.1224)
OKLCHoklch(77.92% 0.123 93)
XYZxyz(44.6272, 47.3609, 14.7719)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B552 #526FD2
analogous
#D27552 #D2B552 #AFD252
triadic
#D2B552 #52D2B5 #B552D2
tetradic
#D2B552 #52D275 #526FD2 #D252AF
square
#D2B552 #52D275 #526FD2 #D252AF
split-complementary
#D2B552 #52AFD2 #7552D2
monochromatic
#877023 #B79830 #D2B552 #DFCA83 #EBDFB3

Accessibility & contrast

On white

2.01
#D2B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#D2B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B552
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B552#FFFFFF#000000##000000
##D2B5521.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B248
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#E2A89F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b552;
/* rgb */ color: rgb(210, 181, 82);
/* oklch */ color: oklch(77.9% 0.123 93.0);
Tailwind
colors: {
  custom: {
    50: '#e3ca86',
    500: '#d2b552',
    950: '#000000',
  },
}
SCSS
$custom: #d2b552;
$custom-light: #e3ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b552",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 46.406,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77917,
    "c": 0.12258,
    "h": 93
  },
  "luminance": 0.47359
}

Semantic roles & 50–950 ramp

primary
#D2B552
secondary
#A6B2DA
accent
#69E246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B552

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

Preview Lab → · Contrast checker → · Palette generator →

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