#8D8018#8D8018

#8D8018 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.117 H 101.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8D8018
RGBrgb(141, 128, 24)
HSLhsl(53, 71%, 32%)
HSVhsv(53, 83%, 55%)
CMYKcmyk(0%, 9.2%, 83%, 44.7%)
CIE-LABlab(53.13, -6.30, 52.95)
CIE-LCHlch(53.13, 53.33, 96.79°)
OKLaboklab(59.38% -0.0236 0.1143)
OKLCHoklch(59.38% 0.117 101.7)
XYZxyz(18.8695, 21.1679, 3.9559)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8018 #18258D
analogous
#8D4518 #8D8018 #608D18
triadic
#8D8018 #188D80 #80188D
tetradic
#8D8018 #188D45 #18258D #8D1860
square
#8D8018 #188D45 #18258D #8D1860
split-complementary
#8D8018 #18608D #45188D
monochromatic
#242106 #59510F #8D8018 #C1AF21 #DFCD41

Accessibility & contrast

On white

4.01
#8D8018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8D8018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8018
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8018#FFFFFF#000000##000000
##8D80181.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918121
Tritanopia (blue-blind)
#98766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d8018;
/* rgb */ color: rgb(141, 128, 24);
/* oklch */ color: oklch(59.4% 0.117 101.7);
Tailwind
colors: {
  custom: {
    50: '#b2a460',
    500: '#8d8018',
    950: '#000000',
  },
}
SCSS
$custom: #8d8018;
$custom-light: #b2a460;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8018",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 53.333,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.11674,
    "h": 101.7
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#8D8018
secondary
#4250BF
accent
#4EEE3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D8018

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

Preview Lab → · Contrast checker → · Palette generator →

#8D8018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva