#D2B74E#D2B74E

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

Color values

HEX#D2B74E
RGBrgb(210, 183, 78)
HSLhsl(48, 59%, 56%)
HSVhsv(48, 63%, 82%)
CMYKcmyk(0%, 12.9%, 62.9%, 17.6%)
CIE-LABlab(74.90, -2.44, 55.47)
CIE-LCHlch(74.90, 55.52, 92.52°)
OKLaboklab(78.29% -0.0107 0.1269)
OKLCHoklch(78.29% 0.127 94.8)
XYZxyz(44.8890, 48.1209, 14.1301)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B74E #4E69D2
analogous
#D2754E #D2B74E #ABD24E
triadic
#D2B74E #4ED2B7 #B74ED2
tetradic
#D2B74E #4ED275 #4E69D2 #D24EAB
square
#D2B74E #4ED275 #4E69D2 #D24EAB
split-complementary
#D2B74E #4EABD2 #754ED2
monochromatic
#847022 #B5992E #D2B74E #DECB7F #EBDFB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B74E#FFFFFF#000000##000000
##D2B74E1.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)
#C9B442
Deuteranopia (green-blind)
#CFBC53
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b74e;
/* rgb */ color: rgb(210, 183, 78);
/* oklch */ color: oklch(78.3% 0.127 94.8);
Tailwind
colors: {
  custom: {
    50: '#e3cc84',
    500: '#d2b74e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b74e;
$custom-light: #e3cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b74e",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 47.727,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78285,
    "c": 0.12731,
    "h": 94.8
  },
  "luminance": 0.48119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B74E

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

Preview Lab → · Contrast checker → · Palette generator →

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