#D2B652#D2B652

#D2B652 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.123 H 93.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D2B652
RGBrgb(210, 182, 82)
HSLhsl(47, 59%, 57%)
HSVhsv(47, 61%, 82%)
CMYKcmyk(0%, 13.3%, 61%, 17.6%)
CIE-LABlab(74.68, -1.65, 53.42)
CIE-LCHlch(74.68, 53.44, 91.77°)
OKLaboklab(78.12% -0.008 0.123)
OKLCHoklch(78.12% 0.123 93.7)
XYZxyz(44.8313, 47.7690, 14.8399)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B652 #526ED2
analogous
#D27652 #D2B652 #AED252
triadic
#D2B652 #52D2B6 #B652D2
tetradic
#D2B652 #52D276 #526ED2 #D252AE
square
#D2B652 #52D276 #526ED2 #D252AE
split-complementary
#D2B652 #52AED2 #7652D2
monochromatic
#877123 #B79A30 #D2B652 #DFCA83 #EBDFB3

Accessibility & contrast

On white

1.99
#D2B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#D2B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B652
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B652#FFFFFF#000000##000000
##D2B6521.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#E2A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b652;
/* rgb */ color: rgb(210, 182, 82);
/* oklch */ color: oklch(78.1% 0.123 93.7);
Tailwind
colors: {
  custom: {
    50: '#e3cb86',
    500: '#d2b652',
    950: '#000000',
  },
}
SCSS
$custom: #d2b652;
$custom-light: #e3cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b652",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 46.875,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78122,
    "c": 0.12329,
    "h": 93.7
  },
  "luminance": 0.47767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B652

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

Preview Lab → · Contrast checker → · Palette generator →

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