#D1B34F#D1B34F

#D1B34F is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.124 H 92.6°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#D1B34F
RGBrgb(209, 179, 79)
HSLhsl(46, 59%, 56%)
HSVhsv(46, 62%, 82%)
CMYKcmyk(0%, 14.4%, 62.2%, 18%)
CIE-LABlab(73.78, -0.70, 53.76)
CIE-LCHlch(73.78, 53.77, 90.74°)
OKLaboklab(77.38% -0.0055 0.1234)
OKLCHoklch(77.38% 0.124 92.6)
XYZxyz(43.8279, 46.3623, 14.0359)
Luminance0.4636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B34F #4F6DD1
analogous
#D1724F #D1B34F #AED14F
triadic
#D1B34F #4FD1B3 #B34FD1
tetradic
#D1B34F #4FD172 #4F6DD1 #D14FAE
square
#D1B34F #4FD172 #4F6DD1 #D14FAE
split-complementary
#D1B34F #4FAED1 #724FD1
monochromatic
#836D22 #B4952F #D1B34F #DEC880 #EADDB0

Accessibility & contrast

On white

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

On black

10.27
#D1B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B34F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B34F#FFFFFF#000000##000000
##D1B34F1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B044
Deuteranopia (green-blind)
#CCB954
Tritanopia (blue-blind)
#E1A69D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b34f;
/* rgb */ color: rgb(209, 179, 79);
/* oklch */ color: oklch(77.4% 0.124 92.6);
Tailwind
colors: {
  custom: {
    50: '#e2c984',
    500: '#d1b34f',
    950: '#000000',
  },
}
SCSS
$custom: #d1b34f;
$custom-light: #e2c984;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b34f",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 46.154,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77381,
    "c": 0.12351,
    "h": 92.6
  },
  "luminance": 0.4636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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