#D2B74C#D2B74C

#D2B74C is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.129 H 95.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D2B74C
RGBrgb(210, 183, 76)
HSLhsl(48, 60%, 56%)
HSVhsv(48, 64%, 82%)
CMYKcmyk(0%, 12.9%, 63.8%, 17.6%)
CIE-LABlab(74.88, -2.57, 56.33)
CIE-LCHlch(74.88, 56.39, 92.61°)
OKLaboklab(78.27% -0.0113 0.1284)
OKLCHoklch(78.27% 0.129 95)
XYZxyz(44.8184, 48.0927, 13.7582)
Luminance0.4809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B74C #4C67D2
analogous
#D2744C #D2B74C #AAD24C
triadic
#D2B74C #4CD2B7 #B74CD2
tetradic
#D2B74C #4CD274 #4C67D2 #D24CAA
square
#D2B74C #4CD274 #4C67D2 #D24CAA
split-complementary
#D2B74C #4CAAD2 #744CD2
monochromatic
#836F21 #B4992D #D2B74C #DECB7D #EBDEAE

Accessibility & contrast

On white

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

On black

10.62
#D2B74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B74C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B74C#FFFFFF#000000##000000
##D2B74C1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B340
Deuteranopia (green-blind)
#D0BC51
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b74c;
/* rgb */ color: rgb(210, 183, 76);
/* oklch */ color: oklch(78.3% 0.129 95.0);
Tailwind
colors: {
  custom: {
    50: '#e3cc83',
    500: '#d2b74c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b74c;
$custom-light: #e3cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b74c",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 47.91,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78266,
    "c": 0.12891,
    "h": 95
  },
  "luminance": 0.4809
}

Semantic roles & 50–950 ramp

primary
#D2B74C
secondary
#A1ACD9
accent
#65E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B74C

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

Preview Lab → · Contrast checker → · Palette generator →

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