#8B8F2E#8B8F2E

#8B8F2E is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.118 H 111.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8B8F2E
RGBrgb(139, 143, 46)
HSLhsl(62, 51%, 37%)
HSVhsv(62, 68%, 56%)
CMYKcmyk(2.8%, 0%, 67.8%, 43.9%)
CIE-LABlab(57.40, -14.27, 48.91)
CIE-LCHlch(57.40, 50.95, 106.27°)
OKLaboklab(62.78% -0.0437 0.11)
OKLCHoklch(62.78% 0.118 111.6)
XYZxyz(20.9637, 25.3316, 6.3694)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8F2E #322E8F
analogous
#8F632E #8B8F2E #5B8F2E
triadic
#8B8F2E #2E8B8F #8F2E8B
tetradic
#8B8F2E #2E8F63 #322E8F #8F2E5B
square
#8B8F2E #2E8F63 #322E8F #8F2E5B
split-complementary
#8B8F2E #2E5B8F #632E8F
monochromatic
#313210 #5E611F #8B8F2E #B8BD3D #CACF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8F2E#FFFFFF#000000##000000
##8B8F2E1.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)
#9A8920
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b8f2e;
/* rgb */ color: rgb(139, 143, 46);
/* oklch */ color: oklch(62.8% 0.118 111.6);
Tailwind
colors: {
  custom: {
    50: '#b0af6d',
    500: '#8b8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8b8f2e;
$custom-light: #b0af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8f2e",
  "rgb": {
    "r": 139,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 62.474,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62782,
    "c": 0.11837,
    "h": 111.6
  },
  "luminance": 0.25331
}

Semantic roles & 50–950 ramp

primary
#8B8F2E
secondary
#6763B6
accent
#4DDB53
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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