#D2B34C#D2B34C

#D2B34C is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.126 H 92.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D2B34C
RGBrgb(210, 179, 76)
HSLhsl(46, 60%, 56%)
HSVhsv(46, 64%, 82%)
CMYKcmyk(0%, 14.8%, 63.8%, 17.6%)
CIE-LABlab(73.85, -0.47, 55.21)
CIE-LCHlch(73.85, 55.21, 90.48°)
OKLaboklab(77.45% -0.0053 0.126)
OKLCHoklch(77.45% 0.126 92.4)
XYZxyz(44.0051, 46.4660, 13.4871)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B34C #4C6BD2
analogous
#D2704C #D2B34C #AED24C
triadic
#D2B34C #4CD2B3 #B34CD2
tetradic
#D2B34C #4CD270 #4C6BD2 #D24CAE
square
#D2B34C #4CD270 #4C6BD2 #D24CAE
split-complementary
#D2B34C #4CAED2 #704CD2
monochromatic
#836C21 #B4952D #D2B34C #DEC87D #EBDDAE

Accessibility & contrast

On white

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

On black

10.29
#D2B34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B34C
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B34C#FFFFFF#000000##000000
##D2B34C1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b34c;
/* rgb */ color: rgb(210, 179, 76);
/* oklch */ color: oklch(77.4% 0.126 92.4);
Tailwind
colors: {
  custom: {
    50: '#e3c982',
    500: '#d2b34c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b34c;
$custom-light: #e3c982;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b34c",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 76
  },
  "hsl": {
    "h": 46.119,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77447,
    "c": 0.12613,
    "h": 92.4
  },
  "luminance": 0.46464
}

Semantic roles & 50–950 ramp

primary
#D2B34C
secondary
#A1AED9
accent
#69E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B34C

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

Preview Lab → · Contrast checker → · Palette generator →

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