#8B8A27#8B8A27

#8B8A27 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.118 H 108.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8B8A27
RGBrgb(139, 138, 39)
HSLhsl(59, 56%, 35%)
HSVhsv(59, 72%, 55%)
CMYKcmyk(0%, 0.7%, 71.9%, 45.5%)
CIE-LABlab(55.90, -12.01, 50.23)
CIE-LCHlch(55.90, 51.65, 103.45°)
OKLaboklab(61.57% -0.0381 0.1116)
OKLCHoklch(61.57% 0.118 108.8)
XYZxyz(20.1029, 23.8130, 5.4565)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A27 #27288B
analogous
#8B5827 #8B8A27 #5A8B27
triadic
#8B8A27 #278B8A #8A278B
tetradic
#8B8A27 #278B58 #27288B #8B275A
square
#8B8A27 #278B58 #27288B #8B275A
split-complementary
#8B8A27 #275A8B #58278B
monochromatic
#2B2B0C #5B5B1A #8B8A27 #BBB934 #D1D05B

Accessibility & contrast

On white

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

On black

5.76
#8B8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A27
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A27#FFFFFF#000000##000000
##8B8A271.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958416
Deuteranopia (green-blind)
#97872E
Tritanopia (blue-blind)
#958177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a27;
/* rgb */ color: rgb(139, 138, 39);
/* oklch */ color: oklch(61.6% 0.118 108.8);
Tailwind
colors: {
  custom: {
    50: '#b0ab68',
    500: '#8b8a27',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a27;
$custom-light: #b0ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a27",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 59.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.11788,
    "h": 108.8
  },
  "luminance": 0.23812
}

Semantic roles & 50–950 ramp

primary
#8B8A27
secondary
#5859B6
accent
#4ADF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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