#D5B33F#D5B33F

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

Color values

HEX#D5B33F
RGBrgb(213, 179, 63)
HSLhsl(46, 64%, 54%)
HSVhsv(46, 70%, 84%)
CMYKcmyk(0%, 16%, 70.4%, 16.5%)
CIE-LABlab(74.03, 0.08, 61.00)
CIE-LCHlch(74.03, 61.00, 89.92°)
OKLaboklab(77.62% -0.0054 0.1361)
OKLCHoklch(77.62% 0.136 92.3)
XYZxyz(44.4602, 46.7478, 11.3831)
Luminance0.4674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B33F #3F61D5
analogous
#D5683F #D5B33F #ACD53F
triadic
#D5B33F #3FD5B3 #B33FD5
tetradic
#D5B33F #3FD568 #3F61D5 #D53FAC
square
#D5B33F #3FD568 #3F61D5 #D53FAC
split-complementary
#D5B33F #3FACD5 #683FD5
monochromatic
#7E681C #B09127 #D5B33F #E0C771 #EBDBA3

Accessibility & contrast

On white

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

On black

10.35
#D5B33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B33F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B33F#FFFFFF#000000##000000
##D5B33F1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b33f;
/* rgb */ color: rgb(213, 179, 63);
/* oklch */ color: oklch(77.6% 0.136 92.3);
Tailwind
colors: {
  custom: {
    50: '#e6c97b',
    500: '#d5b33f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b33f;
$custom-light: #e6c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b33f",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 46.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77623,
    "c": 0.13618,
    "h": 92.3
  },
  "luminance": 0.46745
}

Semantic roles & 50–950 ramp

primary
#D5B33F
secondary
#98A6D8
accent
#66E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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