#D8B23E#D8B23E

#D8B23E is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.7% C 0.137 H 90.3°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#D8B23E
RGBrgb(216, 178, 62)
HSLhsl(45, 66%, 55%)
HSVhsv(45, 71%, 85%)
CMYKcmyk(0%, 17.6%, 71.3%, 15.3%)
CIE-LABlab(74.06, 1.85, 61.53)
CIE-LCHlch(74.06, 61.55, 88.28°)
OKLaboklab(77.71% -0.0007 0.1369)
OKLCHoklch(77.71% 0.137 90.3)
XYZxyz(45.1113, 46.7903, 11.2119)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B23E #3E64D8
analogous
#D8653E #D8B23E #B1D83E
triadic
#D8B23E #3ED8B2 #B23ED8
tetradic
#D8B23E #3ED865 #3E64D8 #D83EB1
square
#D8B23E #3ED865 #3E64D8 #D83EB1
split-complementary
#D8B23E #3EB1D8 #653ED8
monochromatic
#81681A #B49124 #D8B23E #E2C671 #EDDBA4

Accessibility & contrast

On white

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

On black

10.36
#D8B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B23E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B23E#FFFFFF#000000##000000
##D8B23E1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02D
Deuteranopia (green-blind)
#CFBB44
Tritanopia (blue-blind)
#EAA39B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d8b23e;
/* rgb */ color: rgb(216, 178, 62);
/* oklch */ color: oklch(77.7% 0.137 90.3);
Tailwind
colors: {
  custom: {
    50: '#e8c87a',
    500: '#d8b23e',
    950: '#000000',
  },
}
SCSS
$custom: #d8b23e;
$custom-light: #e8c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b23e",
  "rgb": {
    "r": 216,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 45.195,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77709,
    "c": 0.13688,
    "h": 90.3
  },
  "luminance": 0.46788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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