#D2B34F#D2B34F

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

Color values

HEX#D2B34F
RGBrgb(210, 179, 79)
HSLhsl(46, 59%, 57%)
HSVhsv(46, 62%, 82%)
CMYKcmyk(0%, 14.8%, 62.4%, 17.6%)
CIE-LABlab(73.87, -0.27, 53.89)
CIE-LCHlch(73.87, 53.89, 90.29°)
OKLaboklab(77.48% -0.0044 0.1236)
OKLCHoklch(77.48% 0.124 92)
XYZxyz(44.1118, 46.5087, 14.0492)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B34F #4F6ED2
analogous
#D2724F #D2B34F #AFD24F
triadic
#D2B34F #4FD2B3 #B34FD2
tetradic
#D2B34F #4FD272 #4F6ED2 #D24FAF
square
#D2B34F #4FD272 #4F6ED2 #D24FAF
split-complementary
#D2B34F #4FAFD2 #724FD2
monochromatic
#856D22 #B5952E #D2B34F #DEC880 #EBDDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B34F#FFFFFF#000000##000000
##D2B34F1.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)
#C5B044
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#E2A69D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b34f;
/* rgb */ color: rgb(210, 179, 79);
/* oklch */ color: oklch(77.5% 0.124 92.0);
Tailwind
colors: {
  custom: {
    50: '#e3c984',
    500: '#d2b34f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b34f;
$custom-light: #e3c984;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b34f",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 45.802,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77477,
    "c": 0.12372,
    "h": 92
  },
  "luminance": 0.46506
}

Semantic roles & 50–950 ramp

primary
#D2B34F
secondary
#A4B0D9
accent
#6BE245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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