#D2B645#D2B645

#D2B645 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.134 H 95.1°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#D2B645
RGBrgb(210, 182, 69)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 67%, 82%)
CMYKcmyk(0%, 13.3%, 67.1%, 17.6%)
CIE-LABlab(74.57, -2.46, 59.00)
CIE-LCHlch(74.57, 59.05, 92.39°)
OKLaboklab(78% -0.0119 0.133)
OKLCHoklch(78% 0.134 95.1)
XYZxyz(44.3826, 47.5895, 12.4770)
Luminance0.4759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B645 #4561D2
analogous
#D27045 #D2B645 #A8D245
triadic
#D2B645 #45D2B6 #B645D2
tetradic
#D2B645 #45D270 #4561D2 #D245A8
square
#D2B645 #45D270 #4561D2 #D245A8
split-complementary
#D2B645 #45A8D2 #7045D2
monochromatic
#7E6B1F #AF952A #D2B645 #DEC976 #EADDA8

Accessibility & contrast

On white

2.00
#D2B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#D2B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B645
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B645#FFFFFF#000000##000000
##D2B6451.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B237
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#E2A89F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b645;
/* rgb */ color: rgb(210, 182, 69);
/* oklch */ color: oklch(78.0% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#e3cb7e',
    500: '#d2b645',
    950: '#000000',
  },
}
SCSS
$custom: #d2b645;
$custom-light: #e3cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b645",
  "rgb": {
    "r": 210,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 48.085,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77995,
    "c": 0.1335,
    "h": 95.1
  },
  "luminance": 0.47587
}

Semantic roles & 50–950 ramp

primary
#D2B645
secondary
#9CA7D7
accent
#64E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B645

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

Preview Lab → · Contrast checker → · Palette generator →

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