#D4B237#D4B237

#D4B237 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.3% C 0.140 H 92.9°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D4B237
RGBrgb(212, 178, 55)
HSLhsl(47, 65%, 52%)
HSVhsv(47, 74%, 83%)
CMYKcmyk(0%, 16%, 74.1%, 16.9%)
CIE-LABlab(73.62, -0.20, 63.66)
CIE-LCHlch(73.62, 63.66, 90.18°)
OKLaboklab(77.26% -0.0071 0.1402)
OKLCHoklch(77.26% 0.14 92.9)
XYZxyz(43.7638, 46.1162, 10.2099)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B237 #3759D4
analogous
#D46337 #D4B237 #A8D437
triadic
#D4B237 #37D4B2 #B237D4
tetradic
#D4B237 #37D463 #3759D4 #D437A8
square
#D4B237 #37D463 #3759D4 #D437A8
split-complementary
#D4B237 #37A8D4 #6337D4
monochromatic
#77631A #A98D24 #D4B237 #DFC569 #EAD99C

Accessibility & contrast

On white

2.05
#D4B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#D4B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B237
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B237#FFFFFF#000000##000000
##D4B2371.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF22
Deuteranopia (green-blind)
#CEB93E
Tritanopia (blue-blind)
#E5A39A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d4b237;
/* rgb */ color: rgb(212, 178, 55);
/* oklch */ color: oklch(77.3% 0.140 92.9);
Tailwind
colors: {
  custom: {
    50: '#e5c876',
    500: '#d4b237',
    950: '#000000',
  },
}
SCSS
$custom: #d4b237;
$custom-light: #e5c876;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b237",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 47.006,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77262,
    "c": 0.14041,
    "h": 92.9
  },
  "luminance": 0.46114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B237

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

Preview Lab → · Contrast checker → · Palette generator →

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