#D2B352#D2B352

#D2B352 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.121 H 91.6°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#D2B352
RGBrgb(210, 179, 82)
HSLhsl(45, 59%, 57%)
HSVhsv(45, 61%, 82%)
CMYKcmyk(0%, 14.8%, 61%, 17.6%)
CIE-LABlab(73.90, -0.07, 52.55)
CIE-LCHlch(73.90, 52.55, 90.08°)
OKLaboklab(77.51% -0.0034 0.1212)
OKLCHoklch(77.51% 0.121 91.6)
XYZxyz(44.2235, 46.5534, 14.6373)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B352 #5271D2
analogous
#D27352 #D2B352 #B1D252
triadic
#D2B352 #52D2B3 #B352D2
tetradic
#D2B352 #52D273 #5271D2 #D252B1
square
#D2B352 #52D273 #5271D2 #D252B1
split-complementary
#D2B352 #52B1D2 #7352D2
monochromatic
#876E23 #B79630 #D2B352 #DFC883 #EBDEB3

Accessibility & contrast

On white

2.04
#D2B352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#D2B352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B352
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B352#FFFFFF#000000##000000
##D2B3521.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B048
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#E2A69E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b352;
/* rgb */ color: rgb(210, 179, 82);
/* oklch */ color: oklch(77.5% 0.121 91.6);
Tailwind
colors: {
  custom: {
    50: '#e3c986',
    500: '#d2b352',
    950: '#000000',
  },
}
SCSS
$custom: #d2b352;
$custom-light: #e3c986;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b352",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 45.469,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77509,
    "c": 0.12123,
    "h": 91.6
  },
  "luminance": 0.46551
}

Semantic roles & 50–950 ramp

primary
#D2B352
secondary
#A6B3DA
accent
#6CE246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B352

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

Preview Lab → · Contrast checker → · Palette generator →

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