#D4B137#D4B137

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

Color values

HEX#D4B137
RGBrgb(212, 177, 55)
HSLhsl(47, 65%, 52%)
HSVhsv(47, 74%, 83%)
CMYKcmyk(0%, 16.5%, 74.1%, 16.9%)
CIE-LABlab(73.36, 0.33, 63.41)
CIE-LCHlch(73.36, 63.41, 89.71°)
OKLaboklab(77.06% -0.0056 0.1397)
OKLCHoklch(77.06% 0.14 92.3)
XYZxyz(43.5655, 45.7198, 10.1438)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B137 #375AD4
analogous
#D46237 #D4B137 #A9D437
triadic
#D4B137 #37D4B1 #B137D4
tetradic
#D4B137 #37D462 #375AD4 #D437A9
square
#D4B137 #37D462 #375AD4 #D437A9
split-complementary
#D4B137 #37A9D4 #6237D4
monochromatic
#77621A #A98C24 #D4B137 #DFC569 #EAD89C

Accessibility & contrast

On white

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

On black

10.14
#D4B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B137
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B137#FFFFFF#000000##000000
##D4B1371.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b137;
/* rgb */ color: rgb(212, 177, 55);
/* oklch */ color: oklch(77.1% 0.140 92.3);
Tailwind
colors: {
  custom: {
    50: '#e5c776',
    500: '#d4b137',
    950: '#000000',
  },
}
SCSS
$custom: #d4b137;
$custom-light: #e5c776;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b137",
  "rgb": {
    "r": 212,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 46.624,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77058,
    "c": 0.13982,
    "h": 92.3
  },
  "luminance": 0.45717
}

Semantic roles & 50–950 ramp

primary
#D4B137
secondary
#91A0D6
accent
#66E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D4B137

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

Preview Lab → · Contrast checker → · Palette generator →

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