#D2B14D#D2B14D

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

Color values

HEX#D2B14D
RGBrgb(210, 177, 77)
HSLhsl(45, 60%, 56%)
HSVhsv(45, 63%, 82%)
CMYKcmyk(0%, 15.7%, 63.3%, 17.6%)
CIE-LABlab(73.34, 0.65, 54.21)
CIE-LCHlch(73.34, 54.21, 89.31°)
OKLaboklab(77.05% -0.0019 0.124)
OKLCHoklch(77.05% 0.124 90.9)
XYZxyz(43.6422, 45.6842, 13.5389)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B14D #4D6ED2
analogous
#D26F4D #D2B14D #B1D24D
triadic
#D2B14D #4DD2B1 #B14DD2
tetradic
#D2B14D #4DD26F #4D6ED2 #D24DB1
square
#D2B14D #4DD26F #4D6ED2 #D24DB1
split-complementary
#D2B14D #4DB1D2 #6F4DD2
monochromatic
#836B21 #B4932E #D2B14D #DEC67E #EBDCAF

Accessibility & contrast

On white

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

On black

10.14
#D2B14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B14D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B14D#FFFFFF#000000##000000
##D2B14D1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b14d;
/* rgb */ color: rgb(210, 177, 77);
/* oklch */ color: oklch(77.0% 0.124 90.9);
Tailwind
colors: {
  custom: {
    50: '#e3c883',
    500: '#d2b14d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b14d;
$custom-light: #e3c883;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b14d",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 77
  },
  "hsl": {
    "h": 45.113,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7705,
    "c": 0.12405,
    "h": 90.9
  },
  "luminance": 0.45682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B14D

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

Preview Lab → · Contrast checker → · Palette generator →

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