#D1B74B#D1B74B

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

Color values

HEX#D1B74B
RGBrgb(209, 183, 75)
HSLhsl(48, 59%, 56%)
HSVhsv(48, 64%, 82%)
CMYKcmyk(0%, 12.4%, 64.1%, 18%)
CIE-LABlab(74.78, -3.05, 56.64)
CIE-LCHlch(74.78, 56.72, 93.09°)
OKLaboklab(78.16% -0.0128 0.1289)
OKLCHoklch(78.16% 0.13 95.7)
XYZxyz(44.5000, 47.9325, 13.5632)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B74B #4B65D1
analogous
#D1744B #D1B74B #A8D14B
triadic
#D1B74B #4BD1B7 #B74BD1
tetradic
#D1B74B #4BD174 #4B65D1 #D14BA8
square
#D1B74B #4BD174 #4B65D1 #D14BA8
split-complementary
#D1B74B #4BA8D1 #744BD1
monochromatic
#816E21 #B1982D #D1B74B #DDCA7C #EADEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B74B#FFFFFF#000000##000000
##D1B74B1.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)
#C9B33E
Deuteranopia (green-blind)
#CFBC50
Tritanopia (blue-blind)
#E1AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1b74b;
/* rgb */ color: rgb(209, 183, 75);
/* oklch */ color: oklch(78.2% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#e2cc82',
    500: '#d1b74b',
    950: '#000000',
  },
}
SCSS
$custom: #d1b74b;
$custom-light: #e2cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b74b",
  "rgb": {
    "r": 209,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 48.358,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78161,
    "c": 0.12956,
    "h": 95.7
  },
  "luminance": 0.4793
}

Semantic roles & 50–950 ramp

primary
#D1B74B
secondary
#A0ABD8
accent
#64E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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