#D2B048#D2B048

#D2B048 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.8% C 0.127 H 90.9°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D2B048
RGBrgb(210, 176, 72)
HSLhsl(45, 61%, 55%)
HSVhsv(45, 66%, 82%)
CMYKcmyk(0%, 16.2%, 65.7%, 17.6%)
CIE-LABlab(73.04, 0.87, 56.11)
CIE-LCHlch(73.04, 56.11, 89.11°)
OKLaboklab(76.8% -0.0019 0.1273)
OKLCHoklch(76.8% 0.127 90.9)
XYZxyz(43.2756, 45.2226, 12.5791)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B048 #486AD2
analogous
#D26B48 #D2B048 #AFD248
triadic
#D2B048 #48D2B0 #B048D2
tetradic
#D2B048 #48D26B #486AD2 #D248AF
square
#D2B048 #48D26B #486AD2 #D248AF
split-complementary
#D2B048 #48AFD2 #6B48D2
monochromatic
#806820 #B1902C #D2B048 #DEC579 #EADAAA

Accessibility & contrast

On white

2.09
#D2B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#D2B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B048
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B048#FFFFFF#000000##000000
##D2B0481.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3C
Deuteranopia (green-blind)
#CBB74D
Tritanopia (blue-blind)
#E2A29A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b048;
/* rgb */ color: rgb(210, 176, 72);
/* oklch */ color: oklch(76.8% 0.127 90.9);
Tailwind
colors: {
  custom: {
    50: '#e3c780',
    500: '#d2b048',
    950: '#000000',
  },
}
SCSS
$custom: #d2b048;
$custom-light: #e3c780;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b048",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 45.217,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76797,
    "c": 0.12732,
    "h": 90.9
  },
  "luminance": 0.4522
}

Semantic roles & 50–950 ramp

primary
#D2B048
secondary
#9EACD8
accent
#6BE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B048

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

Preview Lab → · Contrast checker → · Palette generator →

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