#D2B54E#D2B54E

#D2B54E is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.9% C 0.126 H 93.5°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#D2B54E
RGBrgb(210, 181, 78)
HSLhsl(47, 59%, 56%)
HSVhsv(47, 63%, 82%)
CMYKcmyk(0%, 13.8%, 62.9%, 17.6%)
CIE-LABlab(74.38, -1.39, 54.90)
CIE-LCHlch(74.38, 54.92, 91.45°)
OKLaboklab(77.88% -0.0077 0.1257)
OKLCHoklch(77.88% 0.126 93.5)
XYZxyz(44.4794, 47.3017, 13.9935)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B54E #4E6BD2
analogous
#D2734E #D2B54E #ADD24E
triadic
#D2B54E #4ED2B5 #B54ED2
tetradic
#D2B54E #4ED273 #4E6BD2 #D24EAD
square
#D2B54E #4ED273 #4E6BD2 #D24EAD
split-complementary
#D2B54E #4EADD2 #734ED2
monochromatic
#846E22 #B5972E #D2B54E #DEC97F #EBDEB0

Accessibility & contrast

On white

2.01
#D2B54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#D2B54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B54E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B54E#FFFFFF#000000##000000
##D2B54E1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B243
Deuteranopia (green-blind)
#CEBB53
Tritanopia (blue-blind)
#E2A89F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b54e;
/* rgb */ color: rgb(210, 181, 78);
/* oklch */ color: oklch(77.9% 0.126 93.5);
Tailwind
colors: {
  custom: {
    50: '#e3ca84',
    500: '#d2b54e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b54e;
$custom-light: #e3ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b54e",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 78
  },
  "hsl": {
    "h": 46.818,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77875,
    "c": 0.12589,
    "h": 93.5
  },
  "luminance": 0.47299
}

Semantic roles & 50–950 ramp

primary
#D2B54E
secondary
#A3AFD9
accent
#68E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B54E

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

Preview Lab → · Contrast checker → · Palette generator →

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