#D8B23F#D8B23F

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

Color values

HEX#D8B23F
RGBrgb(216, 178, 63)
HSLhsl(45, 66%, 55%)
HSVhsv(45, 71%, 85%)
CMYKcmyk(0%, 17.6%, 70.8%, 15.3%)
CIE-LABlab(74.06, 1.90, 61.13)
CIE-LCHlch(74.06, 61.16, 88.22°)
OKLaboklab(77.72% -0.0004 0.1362)
OKLCHoklch(77.72% 0.136 90.2)
XYZxyz(45.1390, 46.8014, 11.3577)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B23F #3F65D8
analogous
#D8663F #D8B23F #B2D83F
triadic
#D8B23F #3FD8B2 #B23FD8
tetradic
#D8B23F #3FD866 #3F65D8 #D83FB2
square
#D8B23F #3FD866 #3F65D8 #D83FB2
split-complementary
#D8B23F #3FB2D8 #663FD8
monochromatic
#82681A #B59125 #D8B23F #E2C672 #EDDBA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B23F#FFFFFF#000000##000000
##D8B23F1.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)
#C6B02F
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#EAA39B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d8b23f;
/* rgb */ color: rgb(216, 178, 63);
/* oklch */ color: oklch(77.7% 0.136 90.2);
Tailwind
colors: {
  custom: {
    50: '#e8c87b',
    500: '#d8b23f',
    950: '#000000',
  },
}
SCSS
$custom: #d8b23f;
$custom-light: #e8c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b23f",
  "rgb": {
    "r": 216,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 45.098,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77717,
    "c": 0.13623,
    "h": 90.2
  },
  "luminance": 0.46799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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