#D2B74D#D2B74D

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

Color values

HEX#D2B74D
RGBrgb(210, 183, 77)
HSLhsl(48, 60%, 56%)
HSVhsv(48, 63%, 82%)
CMYKcmyk(0%, 12.9%, 63.3%, 17.6%)
CIE-LABlab(74.89, -2.50, 55.90)
CIE-LCHlch(74.89, 55.96, 92.56°)
OKLaboklab(78.27% -0.011 0.1276)
OKLCHoklch(78.27% 0.128 94.9)
XYZxyz(44.8534, 48.1067, 13.9427)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B74D #4D68D2
analogous
#D2754D #D2B74D #AAD24D
triadic
#D2B74D #4DD2B7 #B74DD2
tetradic
#D2B74D #4DD275 #4D68D2 #D24DAA
square
#D2B74D #4DD275 #4D68D2 #D24DAA
split-complementary
#D2B74D #4DAAD2 #754DD2
monochromatic
#836F21 #B4992E #D2B74D #DECB7E #EBDFAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B74D#FFFFFF#000000##000000
##D2B74D1.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)
#C9B341
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b74d;
/* rgb */ color: rgb(210, 183, 77);
/* oklch */ color: oklch(78.3% 0.128 94.9);
Tailwind
colors: {
  custom: {
    50: '#e3cc83',
    500: '#d2b74d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b74d;
$custom-light: #e3cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b74d",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 77
  },
  "hsl": {
    "h": 47.82,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78275,
    "c": 0.12811,
    "h": 94.9
  },
  "luminance": 0.48104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B74D

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

Preview Lab → · Contrast checker → · Palette generator →

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