#D2B345#D2B345

#D2B345 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.131 H 93.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#D2B345
RGBrgb(210, 179, 69)
HSLhsl(47, 61%, 55%)
HSVhsv(47, 67%, 82%)
CMYKcmyk(0%, 14.8%, 67.1%, 17.6%)
CIE-LABlab(73.79, -0.89, 58.19)
CIE-LCHlch(73.79, 58.20, 90.87°)
OKLaboklab(77.38% -0.0073 0.1313)
OKLCHoklch(77.38% 0.131 93.2)
XYZxyz(43.7748, 46.3739, 12.2744)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B345 #4564D2
analogous
#D26D45 #D2B345 #AAD245
triadic
#D2B345 #45D2B3 #B345D2
tetradic
#D2B345 #45D26D #4564D2 #D245AA
square
#D2B345 #45D26D #4564D2 #D245AA
split-complementary
#D2B345 #45AAD2 #6D45D2
monochromatic
#7E691F #AF922A #D2B345 #DEC776 #EADBA8

Accessibility & contrast

On white

2.04
#D2B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#D2B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B345
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B345#FFFFFF#000000##000000
##D2B3451.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#E2A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b345;
/* rgb */ color: rgb(210, 179, 69);
/* oklch */ color: oklch(77.4% 0.131 93.2);
Tailwind
colors: {
  custom: {
    50: '#e3c97e',
    500: '#d2b345',
    950: '#000000',
  },
}
SCSS
$custom: #d2b345;
$custom-light: #e3c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b345",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 46.809,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77381,
    "c": 0.13146,
    "h": 93.2
  },
  "luminance": 0.46372
}

Semantic roles & 50–950 ramp

primary
#D2B345
secondary
#9CA9D7
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B345

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

Preview Lab → · Contrast checker → · Palette generator →

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