#D2B34D#D2B34D

#D2B34D is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.5% C 0.125 H 92.3°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#D2B34D
RGBrgb(210, 179, 77)
HSLhsl(46, 60%, 56%)
HSVhsv(46, 63%, 82%)
CMYKcmyk(0%, 14.8%, 63.3%, 17.6%)
CIE-LABlab(73.86, -0.40, 54.77)
CIE-LCHlch(73.86, 54.78, 90.42°)
OKLaboklab(77.46% -0.005 0.1252)
OKLCHoklch(77.46% 0.125 92.3)
XYZxyz(44.0401, 46.4800, 13.6716)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B34D #4D6CD2
analogous
#D2714D #D2B34D #AFD24D
triadic
#D2B34D #4DD2B3 #B34DD2
tetradic
#D2B34D #4DD271 #4D6CD2 #D24DAF
square
#D2B34D #4DD271 #4D6CD2 #D24DAF
split-complementary
#D2B34D #4DAFD2 #714DD2
monochromatic
#836D21 #B4952E #D2B34D #DEC87E #EBDDAF

Accessibility & contrast

On white

2.04
#D2B34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#D2B34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B34D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B34D#FFFFFF#000000##000000
##D2B34D1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B042
Deuteranopia (green-blind)
#CDB952
Tritanopia (blue-blind)
#E2A69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b34d;
/* rgb */ color: rgb(210, 179, 77);
/* oklch */ color: oklch(77.5% 0.125 92.3);
Tailwind
colors: {
  custom: {
    50: '#e3c983',
    500: '#d2b34d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b34d;
$custom-light: #e3c983;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b34d",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 46.015,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77457,
    "c": 0.12533,
    "h": 92.3
  },
  "luminance": 0.46478
}

Semantic roles & 50–950 ramp

primary
#D2B34D
secondary
#A2AFD9
accent
#6AE345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B34D

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

Preview Lab → · Contrast checker → · Palette generator →

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