#8D8F12#8D8F12

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

Color values

HEX#8D8F12
RGBrgb(141, 143, 18)
HSLhsl(61, 78%, 32%)
HSVhsv(61, 87%, 56%)
CMYKcmyk(1.4%, 0%, 87.4%, 43.9%)
CIE-LABlab(57.42, -14.58, 58.14)
CIE-LCHlch(57.42, 59.94, 104.08°)
OKLaboklab(62.79% -0.047 0.1245)
OKLCHoklch(62.79% 0.133 110.7)
XYZxyz(20.9170, 25.3519, 4.3637)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F12 #14128F
analogous
#8F5312 #8D8F12 #4F8F12
triadic
#8D8F12 #128D8F #8F128D
tetradic
#8D8F12 #128F53 #14128F #8F124F
square
#8D8F12 #128F53 #14128F #8F124F
split-complementary
#8D8F12 #124F8F #53128F
monochromatic
#222204 #57590B #8D8F12 #C3C519 #E3E636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8F12#FFFFFF#000000##000000
##8D8F121.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)
#9C8B20
Tritanopia (blue-blind)
#98857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f12;
/* rgb */ color: rgb(141, 143, 18);
/* oklch */ color: oklch(62.8% 0.133 110.7);
Tailwind
colors: {
  custom: {
    50: '#b2af60',
    500: '#8d8f12',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f12;
$custom-light: #b2af60;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f12",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 60.96,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.13309,
    "h": 110.7
  },
  "luminance": 0.25351
}

Semantic roles & 50–950 ramp

primary
#8D8F12
secondary
#3C3AC3
accent
#34F437
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8D8F12

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

Preview Lab → · Contrast checker → · Palette generator →

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