#D2B748#D2B748

#D2B748 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.132 H 95.4°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D2B748
RGBrgb(210, 183, 72)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 66%, 82%)
CMYKcmyk(0%, 12.9%, 65.7%, 17.6%)
CIE-LABlab(74.85, -2.81, 58.03)
CIE-LCHlch(74.85, 58.10, 92.77°)
OKLaboklab(78.23% -0.0125 0.1314)
OKLCHoklch(78.23% 0.132 95.4)
XYZxyz(44.6836, 48.0388, 13.0484)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B748 #4863D2
analogous
#D27248 #D2B748 #A8D248
triadic
#D2B748 #48D2B7 #B748D2
tetradic
#D2B748 #48D272 #4863D2 #D248A8
square
#D2B748 #48D272 #4863D2 #D248A8
split-complementary
#D2B748 #48A8D2 #7248D2
monochromatic
#806D20 #B1972C #D2B748 #DECA79 #EADEAA

Accessibility & contrast

On white

1.98
#D2B748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D2B748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B748
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B748#FFFFFF#000000##000000
##D2B7481.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33A
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b748;
/* rgb */ color: rgb(210, 183, 72);
/* oklch */ color: oklch(78.2% 0.132 95.4);
Tailwind
colors: {
  custom: {
    50: '#e3cc80',
    500: '#d2b748',
    950: '#000000',
  },
}
SCSS
$custom: #d2b748;
$custom-light: #e3cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b748",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 72
  },
  "hsl": {
    "h": 48.261,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78228,
    "c": 0.13199,
    "h": 95.4
  },
  "luminance": 0.48036
}

Semantic roles & 50–950 ramp

primary
#D2B748
secondary
#9EA9D8
accent
#63E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B748

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

Preview Lab → · Contrast checker → · Palette generator →

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