#8B8D2E#8B8D2E

#8B8D2E is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.116 H 110.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8B8D2E
RGBrgb(139, 141, 46)
HSLhsl(61, 51%, 37%)
HSVhsv(61, 67%, 55%)
CMYKcmyk(1.4%, 0%, 67.4%, 44.7%)
CIE-LABlab(56.82, -13.21, 48.31)
CIE-LCHlch(56.82, 50.09, 105.29°)
OKLaboklab(62.32% -0.0407 0.1088)
OKLCHoklch(62.32% 0.116 110.5)
XYZxyz(20.6661, 24.7365, 6.2702)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D2E #302E8D
analogous
#8D602E #8B8D2E #5C8D2E
triadic
#8B8D2E #2E8B8D #8D2E8B
tetradic
#8B8D2E #2E8D60 #302E8D #8D2E5C
square
#8B8D2E #2E8D60 #302E8D #8D2E5C
split-complementary
#8B8D2E #2E5C8D #602E8D
monochromatic
#303110 #5E5F1F #8B8D2E #B8BB3D #CCCE68

Accessibility & contrast

On white

3.53
#8B8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8B8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D2E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D2E#FFFFFF#000000##000000
##8B8D2E1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#95847A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d2e;
/* rgb */ color: rgb(139, 141, 46);
/* oklch */ color: oklch(62.3% 0.116 110.5);
Tailwind
colors: {
  custom: {
    50: '#b0ae6c',
    500: '#8b8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d2e;
$custom-light: #b0ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d2e",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 61.263,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62319,
    "c": 0.11613,
    "h": 110.5
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#8B8D2E
secondary
#6462B5
accent
#4EDA50
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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