#D2B43C#D2B43C

#D2B43C is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.138 H 94.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#D2B43C
RGBrgb(210, 180, 60)
HSLhsl(48, 63%, 53%)
HSVhsv(48, 71%, 82%)
CMYKcmyk(0%, 14.3%, 71.4%, 17.6%)
CIE-LABlab(73.98, -1.88, 62.05)
CIE-LCHlch(73.98, 62.07, 91.74°)
OKLaboklab(77.51% -0.0112 0.1378)
OKLCHoklch(77.51% 0.138 94.7)
XYZxyz(43.7175, 46.6728, 10.9801)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B43C #3C5AD2
analogous
#D2693C #D2B43C #A5D23C
triadic
#D2B43C #3CD2B4 #B43CD2
tetradic
#D2B43C #3CD269 #3C5AD2 #D23CA5
square
#D2B43C #3CD269 #3C5AD2 #D23CA5
split-complementary
#D2B43C #3CA5D2 #693CD2
monochromatic
#78651C #AA9027 #D2B43C #DDC76E #E9DA9F

Accessibility & contrast

On white

2.03
#D2B43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#D2B43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B43C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B43C#FFFFFF#000000##000000
##D2B43C1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12A
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#E3A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b43c;
/* rgb */ color: rgb(210, 180, 60);
/* oklch */ color: oklch(77.5% 0.138 94.7);
Tailwind
colors: {
  custom: {
    50: '#e4ca79',
    500: '#d2b43c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b43c;
$custom-light: #e4ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b43c",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 60
  },
  "hsl": {
    "h": 48,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77511,
    "c": 0.1383,
    "h": 94.7
  },
  "luminance": 0.4667
}

Semantic roles & 50–950 ramp

primary
#D2B43C
secondary
#94A1D5
accent
#63E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B43C

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

Preview Lab → · Contrast checker → · Palette generator →

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