#8D8F2A#8D8F2A

#8D8F2A is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.121 H 110.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D8F2A
RGBrgb(141, 143, 42)
HSLhsl(61, 55%, 36%)
HSVhsv(61, 71%, 56%)
CMYKcmyk(1.4%, 0%, 70.6%, 43.9%)
CIE-LABlab(57.54, -13.61, 50.72)
CIE-LCHlch(57.54, 52.52, 105.02°)
OKLaboklab(62.93% -0.0424 0.1131)
OKLCHoklch(62.93% 0.121 110.5)
XYZxyz(21.2256, 25.4754, 5.9892)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F2A #2C2A8F
analogous
#8F5F2A #8D8F2A #5B8F2A
triadic
#8D8F2A #2A8D8F #8F2A8D
tetradic
#8D8F2A #2A8F5F #2C2A8F #8F2A5B
square
#8D8F2A #2A8F5F #2C2A8F #8F2A5B
split-complementary
#8D8F2A #2A5B8F #5F2A8F
monochromatic
#30300E #5E601C #8D8F2A #BCBE38 #CFD162

Accessibility & contrast

On white

3.45
#8D8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8D8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F2A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F2A#FFFFFF#000000##000000
##8D8F2A1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891A
Deuteranopia (green-blind)
#9B8C31
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f2a;
/* rgb */ color: rgb(141, 143, 42);
/* oklch */ color: oklch(62.9% 0.121 110.5);
Tailwind
colors: {
  custom: {
    50: '#b1af6a',
    500: '#8d8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f2a;
$custom-light: #b1af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f2a",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 61.188,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.12077,
    "h": 110.5
  },
  "luminance": 0.25475
}

Semantic roles & 50–950 ramp

primary
#8D8F2A
secondary
#605EB7
accent
#4ADE4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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