#D2B33D#D2B33D

#D2B33D is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.137 H 94.0°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#D2B33D
RGBrgb(210, 179, 61)
HSLhsl(48, 62%, 53%)
HSVhsv(48, 71%, 82%)
CMYKcmyk(0%, 14.8%, 71%, 17.6%)
CIE-LABlab(73.73, -1.31, 61.40)
CIE-LCHlch(73.73, 61.42, 91.22°)
OKLaboklab(77.31% -0.0095 0.1367)
OKLCHoklch(77.31% 0.137 94)
XYZxyz(43.5430, 46.2812, 11.0536)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B33D #3D5CD2
analogous
#D2683D #D2B33D #A6D23D
triadic
#D2B33D #3DD2B3 #B33DD2
tetradic
#D2B33D #3DD268 #3D5CD2 #D23DA6
square
#D2B33D #3DD268 #3D5CD2 #D23DA6
split-complementary
#D2B33D #3DA6D2 #683DD2
monochromatic
#79651C #AA8F28 #D2B33D #DEC66F #E9DAA0

Accessibility & contrast

On white

2.05
#D2B33D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#D2B33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B33D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B33D#FFFFFF#000000##000000
##D2B33D1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02C
Deuteranopia (green-blind)
#CEB943
Tritanopia (blue-blind)
#E3A59B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b33d;
/* rgb */ color: rgb(210, 179, 61);
/* oklch */ color: oklch(77.3% 0.137 94.0);
Tailwind
colors: {
  custom: {
    50: '#e4c979',
    500: '#d2b33d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b33d;
$custom-light: #e4c979;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b33d",
  "rgb": {
    "r": 210,
    "g": 179,
    "b": 61
  },
  "hsl": {
    "h": 47.517,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77314,
    "c": 0.13699,
    "h": 94
  },
  "luminance": 0.46279
}

Semantic roles & 50–950 ramp

primary
#D2B33D
secondary
#95A3D6
accent
#64E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B33D

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

Preview Lab → · Contrast checker → · Palette generator →

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