#D2B43D#D2B43D

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

Color values

HEX#D2B43D
RGBrgb(210, 180, 61)
HSLhsl(48, 62%, 53%)
HSVhsv(48, 71%, 82%)
CMYKcmyk(0%, 14.3%, 71%, 17.6%)
CIE-LABlab(73.99, -1.84, 61.66)
CIE-LCHlch(73.99, 61.69, 91.71°)
OKLaboklab(77.52% -0.011 0.1372)
OKLCHoklch(77.52% 0.138 94.6)
XYZxyz(43.7442, 46.6835, 11.1207)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B43D #3D5BD2
analogous
#D2693D #D2B43D #A6D23D
triadic
#D2B43D #3DD2B4 #B43DD2
tetradic
#D2B43D #3DD269 #3D5BD2 #D23DA6
square
#D2B43D #3DD269 #3D5BD2 #D23DA6
split-complementary
#D2B43D #3DA6D2 #693DD2
monochromatic
#79661C #AA9028 #D2B43D #DEC76F #E9DAA0

Accessibility & contrast

On white

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

On black

10.34
#D2B43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B43D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B43D#FFFFFF#000000##000000
##D2B43D1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b43d;
/* rgb */ color: rgb(210, 180, 61);
/* oklch */ color: oklch(77.5% 0.138 94.6);
Tailwind
colors: {
  custom: {
    50: '#e4ca7a',
    500: '#d2b43d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b43d;
$custom-light: #e4ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b43d",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 61
  },
  "hsl": {
    "h": 47.919,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.13765,
    "h": 94.6
  },
  "luminance": 0.46681
}

Semantic roles & 50–950 ramp

primary
#D2B43D
secondary
#95A2D6
accent
#63E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B43D

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

Preview Lab → · Contrast checker → · Palette generator →

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