#D5B33C#D5B33C

#D5B33C is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.6% C 0.138 H 92.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D5B33C
RGBrgb(213, 179, 60)
HSLhsl(47, 65%, 54%)
HSVhsv(47, 72%, 84%)
CMYKcmyk(0%, 16%, 71.8%, 16.5%)
CIE-LABlab(74.01, -0.07, 62.17)
CIE-LCHlch(74.01, 62.17, 90.06°)
OKLaboklab(77.6% -0.0062 0.138)
OKLCHoklch(77.6% 0.138 92.6)
XYZxyz(44.3787, 46.7152, 10.9535)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B33C #3C5ED5
analogous
#D5663C #D5B33C #AAD53C
triadic
#D5B33C #3CD5B3 #B33CD5
tetradic
#D5B33C #3CD566 #3C5ED5 #D53CAA
square
#D5B33C #3CD566 #3C5ED5 #D53CAA
split-complementary
#D5B33C #3CAAD5 #663CD5
monochromatic
#7C661B #AE9026 #D5B33C #E0C76E #EBDAA1

Accessibility & contrast

On white

2.03
#D5B33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#D5B33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B33C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B33C#FFFFFF#000000##000000
##D5B33C1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02A
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#E6A59B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b33c;
/* rgb */ color: rgb(213, 179, 60);
/* oklch */ color: oklch(77.6% 0.138 92.6);
Tailwind
colors: {
  custom: {
    50: '#e6c979',
    500: '#d5b33c',
    950: '#000000',
  },
}
SCSS
$custom: #d5b33c;
$custom-light: #e6c979;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b33c",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 46.667,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77599,
    "c": 0.13813,
    "h": 92.6
  },
  "luminance": 0.46713
}

Semantic roles & 50–950 ramp

primary
#D5B33C
secondary
#96A4D7
accent
#65E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D5B33C

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

Preview Lab → · Contrast checker → · Palette generator →

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