#D2B346#D2B346

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

Color values

HEX#D2B346
RGBrgb(210, 179, 70)
HSLhsl(47, 61%, 55%)
HSVhsv(47, 67%, 82%)
CMYKcmyk(0%, 14.8%, 66.7%, 17.6%)
CIE-LABlab(73.80, -0.83, 57.77)
CIE-LCHlch(73.80, 57.78, 90.82°)
OKLaboklab(77.39% -0.0071 0.1305)
OKLCHoklch(77.39% 0.131 93.1)
XYZxyz(43.8061, 46.3864, 12.4393)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B346 #4665D2
analogous
#D26D46 #D2B346 #ABD246
triadic
#D2B346 #46D2B3 #B346D2
tetradic
#D2B346 #46D26D #4665D2 #D246AB
square
#D2B346 #46D26D #4665D2 #D246AB
split-complementary
#D2B346 #46ABD2 #6D46D2
monochromatic
#7F6A1F #B0932B #D2B346 #DEC777 #EADBA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B346#FFFFFF#000000##000000
##D2B3461.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)
#C5B039
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#E2A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b346;
/* rgb */ color: rgb(210, 179, 70);
/* oklch */ color: oklch(77.4% 0.131 93.1);
Tailwind
colors: {
  custom: {
    50: '#e3c97f',
    500: '#d2b346',
    950: '#000000',
  },
}
SCSS
$custom: #d2b346;
$custom-light: #e3c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b346",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 46.714,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7739,
    "c": 0.13072,
    "h": 93.1
  },
  "luminance": 0.46384
}

Semantic roles & 50–950 ramp

primary
#D2B346
secondary
#9CA9D7
accent
#67E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B346

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

Preview Lab → · Contrast checker → · Palette generator →

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