#8D8F2E#8D8F2E

#8D8F2E is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.118 H 110.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8D8F2E
RGBrgb(141, 143, 46)
HSLhsl(61, 51%, 37%)
HSVhsv(61, 68%, 56%)
CMYKcmyk(1.4%, 0%, 67.8%, 43.9%)
CIE-LABlab(57.56, -13.38, 49.13)
CIE-LCHlch(57.56, 50.92, 105.23°)
OKLaboklab(62.96% -0.0413 0.1104)
OKLCHoklch(62.96% 0.118 110.5)
XYZxyz(21.3008, 25.5055, 6.3852)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F2E #302E8F
analogous
#8F612E #8D8F2E #5D8F2E
triadic
#8D8F2E #2E8D8F #8F2E8D
tetradic
#8D8F2E #2E8F61 #302E8F #8F2E5D
square
#8D8F2E #2E8F61 #302E8F #8F2E5D
split-complementary
#8D8F2E #2E5D8F #612E8F
monochromatic
#323210 #5F611F #8D8F2E #BBBD3D #CDCF69

Accessibility & contrast

On white

3.44
#8D8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8D8F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F2E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F2E#FFFFFF#000000##000000
##8D8F2E1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8f2e;
/* rgb */ color: rgb(141, 143, 46);
/* oklch */ color: oklch(63.0% 0.118 110.5);
Tailwind
colors: {
  custom: {
    50: '#b1af6d',
    500: '#8d8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f2e;
$custom-light: #b1af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f2e",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 61.237,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62957,
    "c": 0.1179,
    "h": 110.5
  },
  "luminance": 0.25505
}

Semantic roles & 50–950 ramp

primary
#8D8F2E
secondary
#6563B6
accent
#4DDB50
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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