#D2B237#D2B237

#D2B237 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.140 H 93.9°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#D2B237
RGBrgb(210, 178, 55)
HSLhsl(48, 63%, 52%)
HSVhsv(48, 74%, 82%)
CMYKcmyk(0%, 15.2%, 73.8%, 17.6%)
CIE-LABlab(73.43, -1.07, 63.41)
CIE-LCHlch(73.43, 63.41, 90.96°)
OKLaboklab(77.07% -0.0094 0.1398)
OKLCHoklch(77.07% 0.14 93.9)
XYZxyz(43.1907, 45.8207, 10.1830)
Luminance0.4582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B237 #3757D2
analogous
#D26537 #D2B237 #A5D237
triadic
#D2B237 #37D2B2 #B237D2
tetradic
#D2B237 #37D265 #3757D2 #D237A5
square
#D2B237 #37D265 #3757D2 #D237A5
split-complementary
#D2B237 #37A5D2 #6537D2
monochromatic
#74621A #A68C25 #D2B237 #DDC569 #E8D89B

Accessibility & contrast

On white

2.07
#D2B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#D2B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B237
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B237#FFFFFF#000000##000000
##D2B2371.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF22
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#E3A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b237;
/* rgb */ color: rgb(210, 178, 55);
/* oklch */ color: oklch(77.1% 0.140 93.9);
Tailwind
colors: {
  custom: {
    50: '#e4c876',
    500: '#d2b237',
    950: '#000000',
  },
}
SCSS
$custom: #d2b237;
$custom-light: #e4c876;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b237",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 47.613,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77066,
    "c": 0.1401,
    "h": 93.9
  },
  "luminance": 0.45818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B237

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

Preview Lab → · Contrast checker → · Palette generator →

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