#D2B347#D2B347

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

Color values

HEX#D2B347
RGBrgb(210, 179, 71)
HSLhsl(47, 61%, 55%)
HSVhsv(47, 66%, 82%)
CMYKcmyk(0%, 14.8%, 66.2%, 17.6%)
CIE-LABlab(73.80, -0.77, 57.35)
CIE-LCHlch(73.80, 57.36, 90.77°)
OKLaboklab(77.4% -0.0068 0.1298)
OKLCHoklch(77.4% 0.13 93)
XYZxyz(43.8379, 46.3992, 12.6069)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B347 #4766D2
analogous
#D26E47 #D2B347 #ABD247
triadic
#D2B347 #47D2B3 #B347D2
tetradic
#D2B347 #47D26E #4766D2 #D247AB
square
#D2B347 #47D26E #4766D2 #D247AB
split-complementary
#D2B347 #47ABD2 #6E47D2
monochromatic
#7F6A1F #B1932B #D2B347 #DEC778 #EADCA9

Accessibility & contrast

On white

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

On black

10.28
#D2B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B347
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B347#FFFFFF#000000##000000
##D2B3471.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b347;
/* rgb */ color: rgb(210, 179, 71);
/* oklch */ color: oklch(77.4% 0.130 93.0);
Tailwind
colors: {
  custom: {
    50: '#e3c97f',
    500: '#d2b347',
    950: '#000000',
  },
}
SCSS
$custom: #d2b347;
$custom-light: #e3c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b347",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 46.619,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77399,
    "c": 0.12998,
    "h": 93
  },
  "luminance": 0.46397
}

Semantic roles & 50–950 ramp

primary
#D2B347
secondary
#9DAAD8
accent
#68E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B347

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

Preview Lab → · Contrast checker → · Palette generator →

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