#8B8E2E#8B8E2E

#8B8E2E is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.117 H 111.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8B8E2E
RGBrgb(139, 142, 46)
HSLhsl(62, 51%, 37%)
HSVhsv(62, 68%, 56%)
CMYKcmyk(2.1%, 0%, 67.6%, 44.3%)
CIE-LABlab(57.11, -13.74, 48.61)
CIE-LCHlch(57.11, 50.52, 105.78°)
OKLaboklab(62.55% -0.0422 0.1094)
OKLCHoklch(62.55% 0.117 111.1)
XYZxyz(20.8142, 25.0327, 6.3196)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E2E #312E8E
analogous
#8E612E #8B8E2E #5B8E2E
triadic
#8B8E2E #2E8B8E #8E2E8B
tetradic
#8B8E2E #2E8E61 #312E8E #8E2E5B
square
#8B8E2E #2E8E61 #312E8E #8E2E5B
split-complementary
#8B8E2E #2E5B8E #612E8E
monochromatic
#313210 #5E601F #8B8E2E #B8BC3D #CBCE68

Accessibility & contrast

On white

3.50
#8B8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8B8E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E2E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E2E#FFFFFF#000000##000000
##8B8E2E1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998820
Deuteranopia (green-blind)
#9A8A35
Tritanopia (blue-blind)
#95857B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8e2e;
/* rgb */ color: rgb(139, 142, 46);
/* oklch */ color: oklch(62.5% 0.117 111.1);
Tailwind
colors: {
  custom: {
    50: '#b0ae6c',
    500: '#8b8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e2e;
$custom-light: #b0ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e2e",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 61.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6255,
    "c": 0.11724,
    "h": 111.1
  },
  "luminance": 0.25032
}

Semantic roles & 50–950 ramp

primary
#8B8E2E
secondary
#6563B5
accent
#4DDB52
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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