#D2B13F#D2B13F

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

Color values

HEX#D2B13F
RGBrgb(210, 177, 63)
HSLhsl(47, 62%, 54%)
HSVhsv(47, 70%, 82%)
CMYKcmyk(0%, 15.7%, 70%, 17.6%)
CIE-LABlab(73.22, -0.16, 60.10)
CIE-LCHlch(73.22, 60.10, 90.15°)
OKLaboklab(76.92% -0.006 0.1343)
OKLCHoklch(76.92% 0.134 92.5)
XYZxyz(43.2000, 45.5073, 11.2100)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B13F #3F60D2
analogous
#D2673F #D2B13F #A9D23F
triadic
#D2B13F #3FD2B1 #B13FD2
tetradic
#D2B13F #3FD267 #3F60D2 #D23FA9
square
#D2B13F #3FD267 #3F60D2 #D23FA9
split-complementary
#D2B13F #3FA9D2 #673FD2
monochromatic
#7A651D #AC8E28 #D2B13F #DEC571 #E9D9A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B13F#FFFFFF#000000##000000
##D2B13F1.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)
#C4AE2F
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#E3A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b13f;
/* rgb */ color: rgb(210, 177, 63);
/* oklch */ color: oklch(76.9% 0.134 92.5);
Tailwind
colors: {
  custom: {
    50: '#e4c87a',
    500: '#d2b13f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b13f;
$custom-light: #e4c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b13f",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 46.531,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76921,
    "c": 0.13439,
    "h": 92.5
  },
  "luminance": 0.45505
}

Semantic roles & 50–950 ramp

primary
#D2B13F
secondary
#97A5D6
accent
#67E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B13F

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

Preview Lab → · Contrast checker → · Palette generator →

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