#D5B738#D5B738

#D5B738 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.4% C 0.143 H 95.3°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#D5B738
RGBrgb(213, 183, 56)
HSLhsl(49, 65%, 53%)
HSVhsv(49, 74%, 84%)
CMYKcmyk(0%, 14.1%, 73.7%, 16.5%)
CIE-LABlab(75.01, -2.35, 64.66)
CIE-LCHlch(75.01, 64.70, 92.08°)
OKLaboklab(78.39% -0.0131 0.1425)
OKLCHoklch(78.39% 0.143 95.3)
XYZxyz(45.0902, 48.3011, 10.6887)
Luminance0.4830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B738 #3856D5
analogous
#D56838 #D5B738 #A4D538
triadic
#D5B738 #38D5B7 #B738D5
tetradic
#D5B738 #38D568 #3856D5 #D538A4
square
#D5B738 #38D568 #3856D5 #D538A4
split-complementary
#D5B738 #38A4D5 #6838D5
monochromatic
#79671A #AC9224 #D5B738 #E0C96B #EADC9D

Accessibility & contrast

On white

1.97
#D5B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#D5B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B738
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B738#FFFFFF#000000##000000
##D5B7381.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#E6A99E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b738;
/* rgb */ color: rgb(213, 183, 56);
/* oklch */ color: oklch(78.4% 0.143 95.3);
Tailwind
colors: {
  custom: {
    50: '#e6cc77',
    500: '#d5b738',
    950: '#000000',
  },
}
SCSS
$custom: #d5b738;
$custom-light: #e6cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b738",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 48.535,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78387,
    "c": 0.14313,
    "h": 95.3
  },
  "luminance": 0.48299
}

Semantic roles & 50–950 ramp

primary
#D5B738
secondary
#929FD6
accent
#60E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B738

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

Preview Lab → · Contrast checker → · Palette generator →

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