#D2B14C#D2B14C

#D2B14C is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.125 H 91.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#D2B14C
RGBrgb(210, 177, 76)
HSLhsl(45, 60%, 56%)
HSVhsv(45, 64%, 82%)
CMYKcmyk(0%, 15.7%, 63.8%, 17.6%)
CIE-LABlab(73.33, 0.59, 54.65)
CIE-LCHlch(73.33, 54.65, 89.38°)
OKLaboklab(77.04% -0.0023 0.1248)
OKLCHoklch(77.04% 0.125 91)
XYZxyz(43.6071, 45.6701, 13.3544)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B14C #4C6DD2
analogous
#D26E4C #D2B14C #B0D24C
triadic
#D2B14C #4CD2B1 #B14CD2
tetradic
#D2B14C #4CD26E #4C6DD2 #D24CB0
square
#D2B14C #4CD26E #4C6DD2 #D24CB0
split-complementary
#D2B14C #4CB0D2 #6E4CD2
monochromatic
#836B21 #B4932D #D2B14C #DEC67D #EBDCAE

Accessibility & contrast

On white

2.07
#D2B14C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#D2B14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B14C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B14C#FFFFFF#000000##000000
##D2B14C1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF41
Deuteranopia (green-blind)
#CBB851
Tritanopia (blue-blind)
#E2A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b14c;
/* rgb */ color: rgb(210, 177, 76);
/* oklch */ color: oklch(77.0% 0.125 91.0);
Tailwind
colors: {
  custom: {
    50: '#e3c882',
    500: '#d2b14c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b14c;
$custom-light: #e3c882;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b14c",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 76
  },
  "hsl": {
    "h": 45.224,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77039,
    "c": 0.12484,
    "h": 91
  },
  "luminance": 0.45668
}

Semantic roles & 50–950 ramp

primary
#D2B14C
secondary
#A1AFD9
accent
#6CE345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B14C

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

Preview Lab → · Contrast checker → · Palette generator →

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