#D2B537#D2B537

#D2B537 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.142 H 95.6°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#D2B537
RGBrgb(210, 181, 55)
HSLhsl(49, 63%, 52%)
HSVhsv(49, 74%, 82%)
CMYKcmyk(0%, 13.8%, 73.8%, 17.6%)
CIE-LABlab(74.21, -2.64, 64.15)
CIE-LCHlch(74.21, 64.21, 92.36°)
OKLaboklab(77.68% -0.0139 0.1414)
OKLCHoklch(77.68% 0.142 95.6)
XYZxyz(43.7941, 47.0276, 10.3842)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B537 #3754D2
analogous
#D26837 #D2B537 #A2D237
triadic
#D2B537 #37D2B5 #B537D2
tetradic
#D2B537 #37D268 #3754D2 #D237A2
square
#D2B537 #37D268 #3754D2 #D237A2
split-complementary
#D2B537 #37A2D2 #6837D2
monochromatic
#74641A #A68E25 #D2B537 #DDC769 #E8DA9B

Accessibility & contrast

On white

2.02
#D2B537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#D2B537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B537
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B537#FFFFFF#000000##000000
##D2B5371.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B121
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#E3A79C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b537;
/* rgb */ color: rgb(210, 181, 55);
/* oklch */ color: oklch(77.7% 0.142 95.6);
Tailwind
colors: {
  custom: {
    50: '#e4ca76',
    500: '#d2b537',
    950: '#000000',
  },
}
SCSS
$custom: #d2b537;
$custom-light: #e4ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b537",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 48.774,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77681,
    "c": 0.14205,
    "h": 95.6
  },
  "luminance": 0.47025
}

Semantic roles & 50–950 ramp

primary
#D2B537
secondary
#909DD4
accent
#60E641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B537

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

Preview Lab → · Contrast checker → · Palette generator →

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