#D2B437#D2B437

#D2B437 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.141 H 95.0°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#D2B437
RGBrgb(210, 180, 55)
HSLhsl(48, 63%, 52%)
HSVhsv(48, 74%, 82%)
CMYKcmyk(0%, 14.3%, 73.8%, 17.6%)
CIE-LABlab(73.95, -2.12, 63.90)
CIE-LCHlch(73.95, 63.94, 91.90°)
OKLaboklab(77.48% -0.0124 0.1408)
OKLCHoklch(77.48% 0.141 95)
XYZxyz(43.5915, 46.6224, 10.3167)
Luminance0.4662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B437 #3755D2
analogous
#D26737 #D2B437 #A3D237
triadic
#D2B437 #37D2B4 #B437D2
tetradic
#D2B437 #37D267 #3755D2 #D237A3
square
#D2B437 #37D267 #3755D2 #D237A3
split-complementary
#D2B437 #37A3D2 #6737D2
monochromatic
#74631A #A68D25 #D2B437 #DDC769 #E8D99B

Accessibility & contrast

On white

2.03
#D2B437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#D2B437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B437
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B437#FFFFFF#000000##000000
##D2B4371.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b437;
/* rgb */ color: rgb(210, 180, 55);
/* oklch */ color: oklch(77.5% 0.141 95.0);
Tailwind
colors: {
  custom: {
    50: '#e4ca76',
    500: '#d2b437',
    950: '#000000',
  },
}
SCSS
$custom: #d2b437;
$custom-light: #e4ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b437",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 55
  },
  "hsl": {
    "h": 48.387,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77475,
    "c": 0.14139,
    "h": 95
  },
  "luminance": 0.4662
}

Semantic roles & 50–950 ramp

primary
#D2B437
secondary
#909ED4
accent
#61E641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B437

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

Preview Lab → · Contrast checker → · Palette generator →

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