#8D8F2D#8D8F2D

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

Color values

HEX#8D8F2D
RGBrgb(141, 143, 45)
HSLhsl(61, 52%, 37%)
HSVhsv(61, 69%, 56%)
CMYKcmyk(1.4%, 0%, 68.5%, 43.9%)
CIE-LABlab(57.56, -13.44, 49.54)
CIE-LCHlch(57.56, 51.33, 105.18°)
OKLaboklab(62.95% -0.0416 0.1111)
OKLCHoklch(62.95% 0.119 110.5)
XYZxyz(21.2813, 25.4977, 6.2826)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F2D #2F2D8F
analogous
#8F602D #8D8F2D #5C8F2D
triadic
#8D8F2D #2D8D8F #8F2D8D
tetradic
#8D8F2D #2D8F60 #2F2D8F #8F2D5C
square
#8D8F2D #2D8F60 #2F2D8F #8F2D5C
split-complementary
#8D8F2D #2D5C8F #602D8F
monochromatic
#313210 #5F601E #8D8F2D #BBBE3C #CDCF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8F2D#FFFFFF#000000##000000
##8D8F2D1.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)
#9A891F
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f2d;
/* rgb */ color: rgb(141, 143, 45);
/* oklch */ color: oklch(62.9% 0.119 110.5);
Tailwind
colors: {
  custom: {
    50: '#b1af6c',
    500: '#8d8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f2d;
$custom-light: #b1af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f2d",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 61.224,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62949,
    "c": 0.11864,
    "h": 110.5
  },
  "luminance": 0.25497
}

Semantic roles & 50–950 ramp

primary
#8D8F2D
secondary
#6462B6
accent
#4CDC4F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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