#D5B237#D5B237

#D5B237 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.4% C 0.141 H 92.4°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#D5B237
RGBrgb(213, 178, 55)
HSLhsl(47, 65%, 53%)
HSVhsv(47, 74%, 84%)
CMYKcmyk(0%, 16.4%, 74.2%, 16.5%)
CIE-LABlab(73.72, 0.23, 63.78)
CIE-LCHlch(73.72, 63.78, 89.79°)
OKLaboklab(77.36% -0.0059 0.1405)
OKLCHoklch(77.36% 0.141 92.4)
XYZxyz(44.0530, 46.2654, 10.2235)
Luminance0.4626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B237 #375AD5
analogous
#D56337 #D5B237 #A9D537
triadic
#D5B237 #37D5B2 #B237D5
tetradic
#D5B237 #37D563 #375AD5 #D537A9
square
#D5B237 #37D563 #375AD5 #D537A9
split-complementary
#D5B237 #37A9D5 #6337D5
monochromatic
#786319 #AB8D24 #D5B237 #E0C56A #EAD99C

Accessibility & contrast

On white

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

On black

10.25
#D5B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B237
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B237#FFFFFF#000000##000000
##D5B2371.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b237;
/* rgb */ color: rgb(213, 178, 55);
/* oklch */ color: oklch(77.4% 0.141 92.4);
Tailwind
colors: {
  custom: {
    50: '#e6c876',
    500: '#d5b237',
    950: '#000000',
  },
}
SCSS
$custom: #d5b237;
$custom-light: #e6c876;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b237",
  "rgb": {
    "r": 213,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 46.709,
    "s": 65.289,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7736,
    "c": 0.14058,
    "h": 92.4
  },
  "luminance": 0.46263
}

Semantic roles & 50–950 ramp

primary
#D5B237
secondary
#92A1D6
accent
#65E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B237

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

Preview Lab → · Contrast checker → · Palette generator →

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