#D2B146#D2B146

#D2B146 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 77.0% C 0.129 H 91.8°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D2B146
RGBrgb(210, 177, 70)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 15.7%, 66.7%, 17.6%)
CIE-LABlab(73.28, 0.22, 57.23)
CIE-LCHlch(73.28, 57.23, 89.78°)
OKLaboklab(76.98% -0.004 0.1294)
OKLCHoklch(76.98% 0.129 91.8)
XYZxyz(43.4082, 45.5906, 12.3066)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B146 #4667D2
analogous
#D26B46 #D2B146 #ADD246
triadic
#D2B146 #46D2B1 #B146D2
tetradic
#D2B146 #46D26B #4667D2 #D246AD
square
#D2B146 #46D26B #4667D2 #D246AD
split-complementary
#D2B146 #46ADD2 #6B46D2
monochromatic
#7F681F #B0912B #D2B146 #DEC677 #EADBA8

Accessibility & contrast

On white

2.08
#D2B146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#D2B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B146
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B146#FFFFFF#000000##000000
##D2B1461.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE39
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#E3A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b146;
/* rgb */ color: rgb(210, 177, 70);
/* oklch */ color: oklch(77.0% 0.129 91.8);
Tailwind
colors: {
  custom: {
    50: '#e3c87e',
    500: '#d2b146',
    950: '#000000',
  },
}
SCSS
$custom: #d2b146;
$custom-light: #e3c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b146",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 45.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76982,
    "c": 0.12944,
    "h": 91.8
  },
  "luminance": 0.45588
}

Semantic roles & 50–950 ramp

primary
#D2B146
secondary
#9CAAD7
accent
#6AE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B146

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

Preview Lab → · Contrast checker → · Palette generator →

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