#D1B74E#D1B74E

#D1B74E is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.127 H 95.4°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D1B74E
RGBrgb(209, 183, 78)
HSLhsl(48, 59%, 56%)
HSVhsv(48, 63%, 82%)
CMYKcmyk(0%, 12.4%, 62.7%, 18%)
CIE-LABlab(74.81, -2.86, 55.34)
CIE-LCHlch(74.81, 55.42, 92.96°)
OKLaboklab(78.19% -0.0119 0.1266)
OKLCHoklch(78.19% 0.127 95.4)
XYZxyz(44.6051, 47.9745, 14.1168)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B74E #4E68D1
analogous
#D1764E #D1B74E #A9D14E
triadic
#D1B74E #4ED1B7 #B74ED1
tetradic
#D1B74E #4ED176 #4E68D1 #D14EA9
square
#D1B74E #4ED176 #4E68D1 #D14EA9
split-complementary
#D1B74E #4EA9D1 #764ED1
monochromatic
#836F22 #B3992F #D1B74E #DECB7F #EADFAF

Accessibility & contrast

On white

1.98
#D1B74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#D1B74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B74E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B74E#FFFFFF#000000##000000
##D1B74E1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#CFBC53
Tritanopia (blue-blind)
#E1AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1b74e;
/* rgb */ color: rgb(209, 183, 78);
/* oklch */ color: oklch(78.2% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#e2cc84',
    500: '#d1b74e',
    950: '#000000',
  },
}
SCSS
$custom: #d1b74e;
$custom-light: #e2cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b74e",
  "rgb": {
    "r": 209,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 48.092,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78191,
    "c": 0.12717,
    "h": 95.4
  },
  "luminance": 0.47972
}

Semantic roles & 50–950 ramp

primary
#D1B74E
secondary
#A2ADD8
accent
#65E246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B74E

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

Preview Lab → · Contrast checker → · Palette generator →

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