#D2B34E#D2B34E

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

Color values

HEX#D2B34E
RGBrgb(210, 179, 78)
HSLhsl(46, 59%, 56%)
HSVhsv(46, 63%, 82%)
CMYKcmyk(0%, 14.8%, 62.9%, 17.6%)
CIE-LABlab(73.87, -0.34, 54.33)
CIE-LCHlch(73.87, 54.34, 90.36°)
OKLaboklab(77.47% -0.0047 0.1244)
OKLCHoklch(77.47% 0.125 92.2)
XYZxyz(44.0757, 46.4942, 13.8590)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B34E #4E6DD2
analogous
#D2714E #D2B34E #AFD24E
triadic
#D2B34E #4ED2B3 #B34ED2
tetradic
#D2B34E #4ED271 #4E6DD2 #D24EAF
square
#D2B34E #4ED271 #4E6DD2 #D24EAF
split-complementary
#D2B34E #4EAFD2 #714ED2
monochromatic
#846D22 #B5952E #D2B34E #DEC87F #EBDDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B34E#FFFFFF#000000##000000
##D2B34E1.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)
#C5B043
Deuteranopia (green-blind)
#CDB953
Tritanopia (blue-blind)
#E2A69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b34e;
/* rgb */ color: rgb(210, 179, 78);
/* oklch */ color: oklch(77.5% 0.125 92.2);
Tailwind
colors: {
  custom: {
    50: '#e3c984',
    500: '#d2b34e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b34e;
$custom-light: #e3c984;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b34e",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 78
  },
  "hsl": {
    "h": 45.909,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77467,
    "c": 0.12453,
    "h": 92.2
  },
  "luminance": 0.46492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B34E

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

Preview Lab → · Contrast checker → · Palette generator →

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