#8A8B27#8A8B27

#8A8B27 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.119 H 110.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A8B27
RGBrgb(138, 139, 39)
HSLhsl(61, 56%, 35%)
HSVhsv(61, 72%, 55%)
CMYKcmyk(0.7%, 0%, 71.9%, 45.5%)
CIE-LABlab(56.10, -13.00, 50.40)
CIE-LCHlch(56.10, 52.05, 104.46°)
OKLaboklab(61.71% -0.0408 0.112)
OKLCHoklch(61.71% 0.119 110)
XYZxyz(20.0807, 24.0156, 5.4967)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B27 #28278B
analogous
#8B5A27 #8A8B27 #588B27
triadic
#8A8B27 #278A8B #8B278A
tetradic
#8A8B27 #278B5A #28278B #8B2758
square
#8A8B27 #278B5A #28278B #8B2758
split-complementary
#8A8B27 #27588B #5A278B
monochromatic
#2B2B0C #5B5B1A #8A8B27 #B9BB34 #D0D15B

Accessibility & contrast

On white

3.62
#8A8B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A8B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B27
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B27#FFFFFF#000000##000000
##8A8B271.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968516
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8b27;
/* rgb */ color: rgb(138, 139, 39);
/* oklch */ color: oklch(61.7% 0.119 110.0);
Tailwind
colors: {
  custom: {
    50: '#afac68',
    500: '#8a8b27',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b27;
$custom-light: #afac68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b27",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 60.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.11916,
    "h": 110
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#8A8B27
secondary
#5958B6
accent
#48DF4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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