#8B8F2D#8B8F2D

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

Color values

HEX#8B8F2D
RGBrgb(139, 143, 45)
HSLhsl(62, 52%, 37%)
HSVhsv(62, 69%, 56%)
CMYKcmyk(2.8%, 0%, 68.5%, 43.9%)
CIE-LABlab(57.39, -14.33, 49.31)
CIE-LCHlch(57.39, 51.35, 106.20°)
OKLaboklab(62.77% -0.0439 0.1107)
OKLCHoklch(62.77% 0.119 111.6)
XYZxyz(20.9442, 25.3239, 6.2668)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8F2D #312D8F
analogous
#8F622D #8B8F2D #5A8F2D
triadic
#8B8F2D #2D8B8F #8F2D8B
tetradic
#8B8F2D #2D8F62 #312D8F #8F2D5A
square
#8B8F2D #2D8F62 #312D8F #8F2D5A
split-complementary
#8B8F2D #2D5A8F #622D8F
monochromatic
#313210 #5E601E #8B8F2D #B8BE3C #CBCF67

Accessibility & contrast

On white

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

On black

6.06
#8B8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8F2D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8F2D#FFFFFF#000000##000000
##8B8F2D1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881F
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#95867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b8f2d;
/* rgb */ color: rgb(139, 143, 45);
/* oklch */ color: oklch(62.8% 0.119 111.6);
Tailwind
colors: {
  custom: {
    50: '#b0af6c',
    500: '#8b8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8b8f2d;
$custom-light: #b0af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8f2d",
  "rgb": {
    "r": 139,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 62.449,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62774,
    "c": 0.11911,
    "h": 111.6
  },
  "luminance": 0.25323
}

Semantic roles & 50–950 ramp

primary
#8B8F2D
secondary
#6562B6
accent
#4CDC52
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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