#D2B145#D2B145

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

Color values

HEX#D2B145
RGBrgb(210, 177, 69)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 15.7%, 67.1%, 17.6%)
CIE-LABlab(73.27, 0.17, 57.65)
CIE-LCHlch(73.27, 57.65, 89.83°)
OKLaboklab(76.97% -0.0043 0.1301)
OKLCHoklch(76.97% 0.13 91.9)
XYZxyz(43.3769, 45.5780, 12.1418)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B145 #4566D2
analogous
#D26A45 #D2B145 #ADD245
triadic
#D2B145 #45D2B1 #B145D2
tetradic
#D2B145 #45D26A #4566D2 #D245AD
square
#D2B145 #45D26A #4566D2 #D245AD
split-complementary
#D2B145 #45ADD2 #6A45D2
monochromatic
#7E681F #AF902A #D2B145 #DEC676 #EADAA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B145#FFFFFF#000000##000000
##D2B1451.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)
#C3AE38
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#E3A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b145;
/* rgb */ color: rgb(210, 177, 69);
/* oklch */ color: oklch(77.0% 0.130 91.9);
Tailwind
colors: {
  custom: {
    50: '#e3c87e',
    500: '#d2b145',
    950: '#000000',
  },
}
SCSS
$custom: #d2b145;
$custom-light: #e3c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b145",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 45.957,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76973,
    "c": 0.13017,
    "h": 91.9
  },
  "luminance": 0.45576
}

Semantic roles & 50–950 ramp

primary
#D2B145
secondary
#9CAAD7
accent
#69E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B145

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

Preview Lab → · Contrast checker → · Palette generator →

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