#D2B845#D2B845

#D2B845 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.135 H 96.3°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D2B845
RGBrgb(210, 184, 69)
HSLhsl(49, 61%, 55%)
HSVhsv(49, 67%, 82%)
CMYKcmyk(0%, 12.4%, 67.1%, 17.6%)
CIE-LABlab(75.09, -3.50, 59.55)
CIE-LCHlch(75.09, 59.65, 93.37°)
OKLaboklab(78.41% -0.0148 0.1341)
OKLCHoklch(78.41% 0.135 96.3)
XYZxyz(44.7951, 48.4145, 12.6145)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B845 #455FD2
analogous
#D27145 #D2B845 #A6D245
triadic
#D2B845 #45D2B8 #B845D2
tetradic
#D2B845 #45D271 #455FD2 #D245A6
square
#D2B845 #45D271 #455FD2 #D245A6
split-complementary
#D2B845 #45A6D2 #7145D2
monochromatic
#7E6C1F #AF972A #D2B845 #DECB76 #EADEA8

Accessibility & contrast

On white

1.97
#D2B845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D2B845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B845
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B845#FFFFFF#000000##000000
##D2B8451.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#D1BC4B
Tritanopia (blue-blind)
#E2AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b845;
/* rgb */ color: rgb(210, 184, 69);
/* oklch */ color: oklch(78.4% 0.135 96.3);
Tailwind
colors: {
  custom: {
    50: '#e3cd7e',
    500: '#d2b845',
    950: '#000000',
  },
}
SCSS
$custom: #d2b845;
$custom-light: #e3cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b845",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 48.936,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78407,
    "c": 0.13494,
    "h": 96.3
  },
  "luminance": 0.48412
}

Semantic roles & 50–950 ramp

primary
#D2B845
secondary
#9CA7D7
accent
#61E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B845

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

Preview Lab → · Contrast checker → · Palette generator →

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