#8D8E2F#8D8E2F

#8D8E2F is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.116 H 109.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8D8E2F
RGBrgb(141, 142, 47)
HSLhsl(61, 50%, 37%)
HSVhsv(61, 67%, 56%)
CMYKcmyk(0.7%, 0%, 66.9%, 44.3%)
CIE-LABlab(57.28, -12.79, 48.43)
CIE-LCHlch(57.28, 50.09, 104.79°)
OKLaboklab(62.74% -0.0395 0.1091)
OKLCHoklch(62.74% 0.116 109.9)
XYZxyz(21.1713, 25.2145, 6.4404)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E2F #302F8E
analogous
#8E602F #8D8E2F #5D8E2F
triadic
#8D8E2F #2F8D8E #8E2F8D
tetradic
#8D8E2F #2F8E60 #302F8E #8E2F5D
square
#8D8E2F #2F8E60 #302F8E #8E2F5D
split-complementary
#8D8E2F #2F5D8E #602F8E
monochromatic
#323211 #5F6020 #8D8E2F #BBBC3E #CDCE6A

Accessibility & contrast

On white

3.48
#8D8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8D8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E2F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E2F#FFFFFF#000000##000000
##8D8E2F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#97857B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e2f;
/* rgb */ color: rgb(141, 142, 47);
/* oklch */ color: oklch(62.7% 0.116 109.9);
Tailwind
colors: {
  custom: {
    50: '#b1ae6d',
    500: '#8d8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e2f;
$custom-light: #b1ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e2f",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 60.632,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62735,
    "c": 0.11604,
    "h": 109.9
  },
  "luminance": 0.25214
}

Semantic roles & 50–950 ramp

primary
#8D8E2F
secondary
#6564B5
accent
#4EDA50
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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