#D2B045#D2B045

#D2B045 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.8% C 0.130 H 91.2°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D2B045
RGBrgb(210, 176, 69)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 16.2%, 67.1%, 17.6%)
CIE-LABlab(73.01, 0.69, 57.38)
CIE-LCHlch(73.01, 57.38, 89.31°)
OKLaboklab(76.77% -0.0028 0.1295)
OKLCHoklch(76.77% 0.13 91.2)
XYZxyz(43.1801, 45.1845, 12.0762)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B045 #4567D2
analogous
#D26A45 #D2B045 #AED245
triadic
#D2B045 #45D2B0 #B045D2
tetradic
#D2B045 #45D26A #4567D2 #D245AE
square
#D2B045 #45D26A #4567D2 #D245AE
split-complementary
#D2B045 #45AED2 #6A45D2
monochromatic
#7E671F #AF8F2A #D2B045 #DEC576 #EADAA8

Accessibility & contrast

On white

2.09
#D2B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#D2B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B045
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B045#FFFFFF#000000##000000
##D2B0451.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE38
Deuteranopia (green-blind)
#CBB74A
Tritanopia (blue-blind)
#E3A29A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b045;
/* rgb */ color: rgb(210, 176, 69);
/* oklch */ color: oklch(76.8% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#e3c77e',
    500: '#d2b045',
    950: '#000000',
  },
}
SCSS
$custom: #d2b045;
$custom-light: #e3c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b045",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 45.532,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76769,
    "c": 0.12956,
    "h": 91.2
  },
  "luminance": 0.45182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B045

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

Preview Lab → · Contrast checker → · Palette generator →

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