#D2B14B#D2B14B

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

Color values

HEX#D2B14B
RGBrgb(210, 177, 75)
HSLhsl(45, 60%, 56%)
HSVhsv(45, 64%, 82%)
CMYKcmyk(0%, 15.7%, 64.3%, 17.6%)
CIE-LABlab(73.32, 0.52, 55.09)
CIE-LCHlch(73.32, 55.09, 89.45°)
OKLaboklab(77.03% -0.0026 0.1256)
OKLCHoklch(77.03% 0.126 91.2)
XYZxyz(43.5726, 45.6563, 13.1727)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B14B #4B6CD2
analogous
#D26D4B #D2B14B #B0D24B
triadic
#D2B14B #4BD2B1 #B14BD2
tetradic
#D2B14B #4BD26D #4B6CD2 #D24BB0
square
#D2B14B #4BD26D #4B6CD2 #D24BB0
split-complementary
#D2B14B #4BB0D2 #6D4BD2
monochromatic
#826A21 #B3922D #D2B14B #DEC67C #EADBAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B14B#FFFFFF#000000##000000
##D2B14B1.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)
#C3AF3F
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#E2A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b14b;
/* rgb */ color: rgb(210, 177, 75);
/* oklch */ color: oklch(77.0% 0.126 91.2);
Tailwind
colors: {
  custom: {
    50: '#e3c882',
    500: '#d2b14b',
    950: '#000000',
  },
}
SCSS
$custom: #d2b14b;
$custom-light: #e3c882;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b14b",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 75
  },
  "hsl": {
    "h": 45.333,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77029,
    "c": 0.12564,
    "h": 91.2
  },
  "luminance": 0.45654
}

Semantic roles & 50–950 ramp

primary
#D2B14B
secondary
#A0AED8
accent
#6BE345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B14B

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

Preview Lab → · Contrast checker → · Palette generator →

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