#D2B752#D2B752

#D2B752 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.3% C 0.124 H 94.4°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#D2B752
RGBrgb(210, 183, 82)
HSLhsl(47, 59%, 57%)
HSVhsv(47, 61%, 82%)
CMYKcmyk(0%, 12.9%, 61%, 17.6%)
CIE-LABlab(74.94, -2.17, 53.71)
CIE-LCHlch(74.94, 53.75, 92.32°)
OKLaboklab(78.33% -0.0095 0.1237)
OKLCHoklch(78.33% 0.124 94.4)
XYZxyz(45.0368, 48.1800, 14.9085)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B752 #526DD2
analogous
#D27752 #D2B752 #ADD252
triadic
#D2B752 #52D2B7 #B752D2
tetradic
#D2B752 #52D277 #526DD2 #D252AD
square
#D2B752 #52D277 #526DD2 #D252AD
split-complementary
#D2B752 #52ADD2 #7752D2
monochromatic
#877223 #B79B30 #D2B752 #DFCB83 #EBDFB3

Accessibility & contrast

On white

1.97
#D2B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#D2B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B752
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B752#FFFFFF#000000##000000
##D2B7521.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#E2AAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b752;
/* rgb */ color: rgb(210, 183, 82);
/* oklch */ color: oklch(78.3% 0.124 94.4);
Tailwind
colors: {
  custom: {
    50: '#e3cc86',
    500: '#d2b752',
    950: '#000000',
  },
}
SCSS
$custom: #d2b752;
$custom-light: #e3cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b752",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 47.344,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78327,
    "c": 0.12401,
    "h": 94.4
  },
  "luminance": 0.48178
}

Semantic roles & 50–950 ramp

primary
#D2B752
secondary
#A6B1DA
accent
#67E246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B752

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

Preview Lab → · Contrast checker → · Palette generator →

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