#8D8F18#8D8F18

#8D8F18 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.8% C 0.131 H 110.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D8F18
RGBrgb(141, 143, 24)
HSLhsl(61, 71%, 33%)
HSVhsv(61, 83%, 56%)
CMYKcmyk(1.4%, 0%, 83.2%, 43.9%)
CIE-LABlab(57.44, -14.40, 56.67)
CIE-LCHlch(57.44, 58.48, 104.26°)
OKLaboklab(62.82% -0.0462 0.1224)
OKLCHoklch(62.82% 0.131 110.7)
XYZxyz(20.9726, 25.3742, 4.6569)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F18 #1A188F
analogous
#8F5518 #8D8F18 #528F18
triadic
#8D8F18 #188D8F #8F188D
tetradic
#8D8F18 #188F55 #1A188F #8F1852
square
#8D8F18 #188F55 #1A188F #8F1852
split-complementary
#8D8F18 #18528F #55188F
monochromatic
#262606 #595B0F #8D8F18 #C1C321 #DDDF42

Accessibility & contrast

On white

3.46
#8D8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8D8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F18
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F18#FFFFFF#000000##000000
##8D8F181.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8B24
Tritanopia (blue-blind)
#97857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f18;
/* rgb */ color: rgb(141, 143, 24);
/* oklch */ color: oklch(62.8% 0.131 110.7);
Tailwind
colors: {
  custom: {
    50: '#b2af62',
    500: '#8d8f18',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f18;
$custom-light: #b2af62;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f18",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 61.008,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62816,
    "c": 0.1308,
    "h": 110.7
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#8D8F18
secondary
#4543C0
accent
#3AEE3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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