#8B8A2D#8B8A2D

#8B8A2D is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.114 H 108.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8B8A2D
RGBrgb(139, 138, 45)
HSLhsl(59, 51%, 36%)
HSVhsv(59, 68%, 55%)
CMYKcmyk(0%, 0.7%, 67.6%, 45.5%)
CIE-LABlab(55.94, -11.67, 47.84)
CIE-LCHlch(55.94, 49.24, 103.71°)
OKLaboklab(61.62% -0.0365 0.1076)
OKLCHoklch(61.62% 0.114 108.7)
XYZxyz(20.2103, 23.8560, 6.0222)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A2D #2D2E8B
analogous
#8B5B2D #8B8A2D #5D8B2D
triadic
#8B8A2D #2D8B8A #8A2D8B
tetradic
#8B8A2D #2D8B5B #2D2E8B #8B2D5D
square
#8B8A2D #2D8B5B #2D2E8B #8B2D5D
split-complementary
#8B8A2D #2D5D8B #5B2D8B
monochromatic
#2F2E0F #5D5C1E #8B8A2D #B9B83C #CDCC65

Accessibility & contrast

On white

3.64
#8B8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8B8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A2D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A2D#FFFFFF#000000##000000
##8B8A2D1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#958177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a2d;
/* rgb */ color: rgb(139, 138, 45);
/* oklch */ color: oklch(61.6% 0.114 108.7);
Tailwind
colors: {
  custom: {
    50: '#b0ab6b',
    500: '#8b8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a2d;
$custom-light: #b0ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a2d",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 59.362,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.11361,
    "h": 108.7
  },
  "luminance": 0.23855
}

Semantic roles & 50–950 ramp

primary
#8B8A2D
secondary
#6061B4
accent
#4FDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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