#8A9127#8A9127

#8A9127 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.126 H 113.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A9127
RGBrgb(138, 145, 39)
HSLhsl(64, 58%, 36%)
HSVhsv(64, 73%, 57%)
CMYKcmyk(4.8%, 0%, 73.1%, 43.1%)
CIE-LABlab(57.85, -16.16, 52.10)
CIE-LCHlch(57.85, 54.55, 107.24°)
OKLaboklab(63.11% -0.0496 0.1156)
OKLCHoklch(63.11% 0.126 113.2)
XYZxyz(20.9735, 25.8010, 5.7943)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9127 #2E2791
analogous
#916327 #8A9127 #559127
triadic
#8A9127 #278A91 #91278A
tetradic
#8A9127 #279163 #2E2791 #912755
square
#8A9127 #279163 #2E2791 #912755
split-complementary
#8A9127 #275591 #632791
monochromatic
#2E310D #5C611A #8A9127 #B8C134 #CCD45F

Accessibility & contrast

On white

3.41
#8A9127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8A9127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9127
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9127#FFFFFF#000000##000000
##8A91271.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A13
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#93887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9127;
/* rgb */ color: rgb(138, 145, 39);
/* oklch */ color: oklch(63.1% 0.126 113.2);
Tailwind
colors: {
  custom: {
    50: '#afb169',
    500: '#8a9127',
    950: '#000000',
  },
}
SCSS
$custom: #8a9127;
$custom-light: #afb169;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9127",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 39
  },
  "hsl": {
    "h": 63.962,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63107,
    "c": 0.12575,
    "h": 113.2
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#8A9127
secondary
#615BB9
accent
#47E151
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9127

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

Preview Lab → · Contrast checker → · Palette generator →

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