#D5B03C#D5B03C

#D5B03C is a light, vivid yellow. Relative luminance 0.455; OKLCH L 77.0% C 0.136 H 90.7°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D5B03C
RGBrgb(213, 176, 60)
HSLhsl(45, 65%, 54%)
HSVhsv(45, 72%, 84%)
CMYKcmyk(0%, 17.4%, 71.8%, 16.5%)
CIE-LABlab(73.24, 1.51, 61.40)
CIE-LCHlch(73.24, 61.42, 88.59°)
OKLaboklab(76.99% -0.0017 0.1364)
OKLCHoklch(76.99% 0.136 90.7)
XYZxyz(43.7839, 45.5257, 10.7553)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B03C #3C61D5
analogous
#D5633C #D5B03C #ADD53C
triadic
#D5B03C #3CD5B0 #B03CD5
tetradic
#D5B03C #3CD563 #3C61D5 #D53CAD
square
#D5B03C #3CD563 #3C61D5 #D53CAD
split-complementary
#D5B03C #3CADD5 #633CD5
monochromatic
#7C641B #AE8D26 #D5B03C #E0C46E #EBD9A1

Accessibility & contrast

On white

2.08
#D5B03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#D5B03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B03C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B03C#FFFFFF#000000##000000
##D5B03C1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2B
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#E6A199
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d5b03c;
/* rgb */ color: rgb(213, 176, 60);
/* oklch */ color: oklch(77.0% 0.136 90.7);
Tailwind
colors: {
  custom: {
    50: '#e6c779',
    500: '#d5b03c',
    950: '#000000',
  },
}
SCSS
$custom: #d5b03c;
$custom-light: #e6c779;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b03c",
  "rgb": {
    "r": 213,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 45.49,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76991,
    "c": 0.13638,
    "h": 90.7
  },
  "luminance": 0.45523
}

Semantic roles & 50–950 ramp

primary
#D5B03C
secondary
#96A5D7
accent
#69E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B03C

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

Preview Lab → · Contrast checker → · Palette generator →

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