#8A9B38#8A9B38

#8A9B38 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.6% C 0.125 H 118.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A9B38
RGBrgb(138, 155, 56)
HSLhsl(70, 47%, 41%)
HSVhsv(70, 64%, 61%)
CMYKcmyk(11%, 0%, 63.9%, 39.2%)
CIE-LABlab(60.90, -20.25, 48.27)
CIE-LCHlch(60.90, 52.35, 112.76°)
OKLaboklab(65.59% -0.0593 0.1102)
OKLCHoklch(65.59% 0.125 118.3)
XYZxyz(22.9168, 29.1317, 8.1563)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B38 #49389B
analogous
#9B7B38 #8A9B38 #599B38
triadic
#8A9B38 #388A9B #9B388A
tetradic
#8A9B38 #389B7B #49389B #9B3859
square
#8A9B38 #389B7B #49389B #9B3859
split-complementary
#8A9B38 #38599B #7B389B
monochromatic
#3A4118 #626E28 #8A9B38 #ADC050 #C2D07D

Accessibility & contrast

On white

3.08
#8A9B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#8A9B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B38
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B38#FFFFFF#000000##000000
##8A9B381.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#A3933F
Tritanopia (blue-blind)
#929386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b38;
/* rgb */ color: rgb(138, 155, 56);
/* oklch */ color: oklch(65.6% 0.125 118.3);
Tailwind
colors: {
  custom: {
    50: '#afb873',
    500: '#8a9b38',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b38;
$custom-light: #afb873;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b38",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 70.303,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65594,
    "c": 0.12518,
    "h": 118.3
  },
  "luminance": 0.29131
}

Semantic roles & 50–950 ramp

primary
#8A9B38
secondary
#8175B9
accent
#51D768
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9B38

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

Preview Lab → · Contrast checker → · Palette generator →

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