#D2B648#D2B648

#D2B648 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.131 H 94.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D2B648
RGBrgb(210, 182, 72)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 66%, 82%)
CMYKcmyk(0%, 13.3%, 65.7%, 17.6%)
CIE-LABlab(74.59, -2.29, 57.76)
CIE-LCHlch(74.59, 57.80, 92.27°)
OKLaboklab(78.02% -0.011 0.1308)
OKLCHoklch(78.02% 0.131 94.8)
XYZxyz(44.4781, 47.6277, 12.9799)
Luminance0.4763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B648 #4864D2
analogous
#D27148 #D2B648 #A9D248
triadic
#D2B648 #48D2B6 #B648D2
tetradic
#D2B648 #48D271 #4864D2 #D248A9
square
#D2B648 #48D271 #4864D2 #D248A9
split-complementary
#D2B648 #48A9D2 #7148D2
monochromatic
#806C20 #B1962C #D2B648 #DECA79 #EADDAA

Accessibility & contrast

On white

2.00
#D2B648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D2B648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B648
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B648#FFFFFF#000000##000000
##D2B6481.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33B
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#E2A99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b648;
/* rgb */ color: rgb(210, 182, 72);
/* oklch */ color: oklch(78.0% 0.131 94.8);
Tailwind
colors: {
  custom: {
    50: '#e3cb80',
    500: '#d2b648',
    950: '#000000',
  },
}
SCSS
$custom: #d2b648;
$custom-light: #e3cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b648",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 47.826,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78022,
    "c": 0.13127,
    "h": 94.8
  },
  "luminance": 0.47625
}

Semantic roles & 50–950 ramp

primary
#D2B648
secondary
#9EAAD8
accent
#65E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B648

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

Preview Lab → · Contrast checker → · Palette generator →

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