#D2B74B#D2B74B

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

Color values

HEX#D2B74B
RGBrgb(210, 183, 75)
HSLhsl(48, 60%, 56%)
HSVhsv(48, 64%, 82%)
CMYKcmyk(0%, 12.9%, 64.3%, 17.6%)
CIE-LABlab(74.87, -2.63, 56.76)
CIE-LCHlch(74.87, 56.82, 92.65°)
OKLaboklab(78.26% -0.0116 0.1292)
OKLCHoklch(78.26% 0.13 95.1)
XYZxyz(44.7839, 48.0789, 13.5765)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B74B #4B66D2
analogous
#D2734B #D2B74B #A9D24B
triadic
#D2B74B #4BD2B7 #B74BD2
tetradic
#D2B74B #4BD273 #4B66D2 #D24BA9
square
#D2B74B #4BD273 #4B66D2 #D24BA9
split-complementary
#D2B74B #4BA9D2 #734BD2
monochromatic
#826F21 #B3982D #D2B74B #DECB7C #EADEAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B74B#FFFFFF#000000##000000
##D2B74B1.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)
#C9B33E
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b74b;
/* rgb */ color: rgb(210, 183, 75);
/* oklch */ color: oklch(78.3% 0.130 95.1);
Tailwind
colors: {
  custom: {
    50: '#e3cc82',
    500: '#d2b74b',
    950: '#000000',
  },
}
SCSS
$custom: #d2b74b;
$custom-light: #e3cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b74b",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 48,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78256,
    "c": 0.12969,
    "h": 95.1
  },
  "luminance": 0.48077
}

Semantic roles & 50–950 ramp

primary
#D2B74B
secondary
#A0ACD8
accent
#64E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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