#8B8A2E#8B8A2E

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

Color values

HEX#8B8A2E
RGBrgb(139, 138, 46)
HSLhsl(59, 50%, 36%)
HSVhsv(59, 67%, 55%)
CMYKcmyk(0%, 0.7%, 66.9%, 45.5%)
CIE-LABlab(55.95, -11.60, 47.42)
CIE-LCHlch(55.95, 48.82, 103.75°)
OKLaboklab(61.63% -0.0362 0.1069)
OKLCHoklch(61.63% 0.113 108.7)
XYZxyz(20.2298, 23.8638, 6.1248)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A2E #2E2F8B
analogous
#8B5C2E #8B8A2E #5E8B2E
triadic
#8B8A2E #2E8B8A #8A2E8B
tetradic
#8B8A2E #2E8B5C #2E2F8B #8B2E5E
square
#8B8A2E #2E8B5C #2E2F8B #8B2E5E
split-complementary
#8B8A2E #2E5E8B #5C2E8B
monochromatic
#2F2F10 #5D5C1F #8B8A2E #B9B83D #CDCC67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8A2E#FFFFFF#000000##000000
##8B8A2E1.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)
#958421
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#958177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a2e;
/* rgb */ color: rgb(139, 138, 46);
/* oklch */ color: oklch(61.6% 0.113 108.7);
Tailwind
colors: {
  custom: {
    50: '#b0ab6c',
    500: '#8b8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a2e;
$custom-light: #b0ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a2e",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 59.355,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61627,
    "c": 0.11284,
    "h": 108.7
  },
  "luminance": 0.23863
}

Semantic roles & 50–950 ramp

primary
#8B8A2E
secondary
#6162B3
accent
#50DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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