#D8B33E#D8B33E

#D8B33E is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.9% C 0.137 H 90.9°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#D8B33E
RGBrgb(216, 179, 62)
HSLhsl(46, 66%, 55%)
HSVhsv(46, 71%, 85%)
CMYKcmyk(0%, 17.1%, 71.3%, 15.3%)
CIE-LABlab(74.31, 1.32, 61.78)
CIE-LCHlch(74.31, 61.80, 88.77°)
OKLaboklab(77.91% -0.0022 0.1374)
OKLCHoklch(77.91% 0.137 90.9)
XYZxyz(45.3110, 47.1897, 11.2784)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B33E #3E63D8
analogous
#D8663E #D8B33E #B0D83E
triadic
#D8B33E #3ED8B3 #B33ED8
tetradic
#D8B33E #3ED866 #3E63D8 #D83EB0
square
#D8B33E #3ED866 #3E63D8 #D83EB0
split-complementary
#D8B33E #3EB0D8 #663ED8
monochromatic
#81691A #B49224 #D8B33E #E2C771 #EDDBA4

Accessibility & contrast

On white

2.01
#D8B33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#D8B33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B33E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B33E#FFFFFF#000000##000000
##D8B33E1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12D
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#EAA49B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8b33e;
/* rgb */ color: rgb(216, 179, 62);
/* oklch */ color: oklch(77.9% 0.137 90.9);
Tailwind
colors: {
  custom: {
    50: '#e8c97a',
    500: '#d8b33e',
    950: '#000000',
  },
}
SCSS
$custom: #d8b33e;
$custom-light: #e8c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b33e",
  "rgb": {
    "r": 216,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 45.584,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77911,
    "c": 0.13744,
    "h": 90.9
  },
  "luminance": 0.47187
}

Semantic roles & 50–950 ramp

primary
#D8B33E
secondary
#98A8D9
accent
#68E93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B33E

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

Preview Lab → · Contrast checker → · Palette generator →

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