#D2B037#D2B037

#D2B037 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.7% C 0.139 H 92.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#D2B037
RGBrgb(210, 176, 55)
HSLhsl(47, 63%, 52%)
HSVhsv(47, 74%, 82%)
CMYKcmyk(0%, 16.2%, 73.8%, 17.6%)
CIE-LABlab(72.91, -0.01, 62.91)
CIE-LCHlch(72.91, 62.91, 90.01°)
OKLaboklab(76.66% -0.0064 0.1387)
OKLCHoklch(76.66% 0.139 92.7)
XYZxyz(42.7956, 45.0307, 10.0514)
Luminance0.4503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B037 #3759D2
analogous
#D26337 #D2B037 #A6D237
triadic
#D2B037 #37D2B0 #B037D2
tetradic
#D2B037 #37D263 #3759D2 #D237A6
square
#D2B037 #37D263 #3759D2 #D237A6
split-complementary
#D2B037 #37A6D2 #6337D2
monochromatic
#74611A #A68A25 #D2B037 #DDC469 #E8D79B

Accessibility & contrast

On white

2.10
#D2B037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#D2B037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B037
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B037#FFFFFF#000000##000000
##D2B0371.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#E3A298
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b037;
/* rgb */ color: rgb(210, 176, 55);
/* oklch */ color: oklch(76.7% 0.139 92.7);
Tailwind
colors: {
  custom: {
    50: '#e4c776',
    500: '#d2b037',
    950: '#000000',
  },
}
SCSS
$custom: #d2b037;
$custom-light: #e4c776;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b037",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 55
  },
  "hsl": {
    "h": 46.839,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76657,
    "c": 0.13887,
    "h": 92.7
  },
  "luminance": 0.45028
}

Semantic roles & 50–950 ramp

primary
#D2B037
secondary
#909FD4
accent
#66E641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B037

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

Preview Lab → · Contrast checker → · Palette generator →

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