#D2B13D#D2B13D

#D2B13D is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.136 H 92.7°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D2B13D
RGBrgb(210, 177, 61)
HSLhsl(47, 62%, 53%)
HSVhsv(47, 71%, 82%)
CMYKcmyk(0%, 15.7%, 71%, 17.6%)
CIE-LABlab(73.21, -0.26, 60.89)
CIE-LCHlch(73.21, 60.89, 90.24°)
OKLaboklab(76.91% -0.0065 0.1356)
OKLCHoklch(76.91% 0.136 92.7)
XYZxyz(43.1451, 45.4853, 10.9210)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B13D #3D5ED2
analogous
#D2663D #D2B13D #A9D23D
triadic
#D2B13D #3DD2B1 #B13DD2
tetradic
#D2B13D #3DD266 #3D5ED2 #D23DA9
square
#D2B13D #3DD266 #3D5ED2 #D23DA9
split-complementary
#D2B13D #3DA9D2 #663DD2
monochromatic
#79641C #AA8D28 #D2B13D #DEC56F #E9D9A0

Accessibility & contrast

On white

2.08
#D2B13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#D2B13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B13D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B13D#FFFFFF#000000##000000
##D2B13D1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2C
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#E3A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b13d;
/* rgb */ color: rgb(210, 177, 61);
/* oklch */ color: oklch(76.9% 0.136 92.7);
Tailwind
colors: {
  custom: {
    50: '#e4c779',
    500: '#d2b13d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b13d;
$custom-light: #e4c779;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b13d",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 46.711,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76905,
    "c": 0.13572,
    "h": 92.7
  },
  "luminance": 0.45483
}

Semantic roles & 50–950 ramp

primary
#D2B13D
secondary
#95A4D6
accent
#66E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B13D

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

Preview Lab → · Contrast checker → · Palette generator →

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