#D8B33F#D8B33F

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

Color values

HEX#D8B33F
RGBrgb(216, 179, 63)
HSLhsl(45, 66%, 55%)
HSVhsv(45, 71%, 85%)
CMYKcmyk(0%, 17.1%, 70.8%, 15.3%)
CIE-LABlab(74.32, 1.37, 61.39)
CIE-LCHlch(74.32, 61.41, 88.72°)
OKLaboklab(77.92% -0.0019 0.1368)
OKLCHoklch(77.92% 0.137 90.8)
XYZxyz(45.3387, 47.2007, 11.4243)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B33F #3F64D8
analogous
#D8663F #D8B33F #B1D83F
triadic
#D8B33F #3FD8B3 #B33FD8
tetradic
#D8B33F #3FD866 #3F64D8 #D83FB1
square
#D8B33F #3FD866 #3F64D8 #D83FB1
split-complementary
#D8B33F #3FB1D8 #663FD8
monochromatic
#82691A #B59225 #D8B33F #E2C772 #EDDBA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B33F#FFFFFF#000000##000000
##D8B33F1.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)
#C7B12F
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#E9A49B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8b33f;
/* rgb */ color: rgb(216, 179, 63);
/* oklch */ color: oklch(77.9% 0.137 90.8);
Tailwind
colors: {
  custom: {
    50: '#e8c97b',
    500: '#d8b33f',
    950: '#000000',
  },
}
SCSS
$custom: #d8b33f;
$custom-light: #e8c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b33f",
  "rgb": {
    "r": 216,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 45.49,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77919,
    "c": 0.13679,
    "h": 90.8
  },
  "luminance": 0.47198
}

Semantic roles & 50–950 ramp

primary
#D8B33F
secondary
#99A9DA
accent
#68E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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