#D2B852#D2B852

#D2B852 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.125 H 95.1°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D2B852
RGBrgb(210, 184, 82)
HSLhsl(48, 59%, 57%)
HSVhsv(48, 61%, 82%)
CMYKcmyk(0%, 12.4%, 61%, 17.6%)
CIE-LABlab(75.20, -2.69, 54.00)
CIE-LCHlch(75.20, 54.06, 92.86°)
OKLaboklab(78.53% -0.011 0.1243)
OKLCHoklch(78.53% 0.125 95.1)
XYZxyz(45.2438, 48.5940, 14.9774)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B852 #526CD2
analogous
#D27852 #D2B852 #ACD252
triadic
#D2B852 #52D2B8 #B852D2
tetradic
#D2B852 #52D278 #526CD2 #D252AC
square
#D2B852 #52D278 #526CD2 #D252AC
split-complementary
#D2B852 #52ACD2 #7852D2
monochromatic
#877223 #B79C30 #D2B852 #DFCC83 #EBE0B3

Accessibility & contrast

On white

1.96
#D2B852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#D2B852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B852
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B852#FFFFFF#000000##000000
##D2B8521.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#D0BD57
Tritanopia (blue-blind)
#E2ABA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b852;
/* rgb */ color: rgb(210, 184, 82);
/* oklch */ color: oklch(78.5% 0.125 95.1);
Tailwind
colors: {
  custom: {
    50: '#e3cd86',
    500: '#d2b852',
    950: '#000000',
  },
}
SCSS
$custom: #d2b852;
$custom-light: #e3cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b852",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 82
  },
  "hsl": {
    "h": 47.813,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78532,
    "c": 0.12476,
    "h": 95.1
  },
  "luminance": 0.48592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B852

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

Preview Lab → · Contrast checker → · Palette generator →

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