#D2B137#D2B137

#D2B137 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.9% C 0.139 H 93.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#D2B137
RGBrgb(210, 177, 55)
HSLhsl(47, 63%, 52%)
HSVhsv(47, 74%, 82%)
CMYKcmyk(0%, 15.7%, 73.8%, 17.6%)
CIE-LABlab(73.17, -0.54, 63.16)
CIE-LCHlch(73.17, 63.16, 90.49°)
OKLaboklab(76.86% -0.0079 0.1393)
OKLCHoklch(76.86% 0.139 93.3)
XYZxyz(42.9924, 45.4243, 10.1170)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B137 #3758D2
analogous
#D26437 #D2B137 #A5D237
triadic
#D2B137 #37D2B1 #B137D2
tetradic
#D2B137 #37D264 #3758D2 #D237A5
square
#D2B137 #37D264 #3758D2 #D237A5
split-complementary
#D2B137 #37A5D2 #6437D2
monochromatic
#74611A #A68B25 #D2B137 #DDC469 #E8D89B

Accessibility & contrast

On white

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

On black

10.08
#D2B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B137
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B137#FFFFFF#000000##000000
##D2B1371.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE23
Deuteranopia (green-blind)
#CCB83E
Tritanopia (blue-blind)
#E3A399
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b137;
/* rgb */ color: rgb(210, 177, 55);
/* oklch */ color: oklch(76.9% 0.139 93.3);
Tailwind
colors: {
  custom: {
    50: '#e4c776',
    500: '#d2b137',
    950: '#000000',
  },
}
SCSS
$custom: #d2b137;
$custom-light: #e4c776;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b137",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 47.226,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76861,
    "c": 0.13948,
    "h": 93.3
  },
  "luminance": 0.45422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B137

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

Preview Lab → · Contrast checker → · Palette generator →

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