#8A9F2B#8A9F2B

#8A9F2B is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.4% C 0.140 H 119.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A9F2B
RGBrgb(138, 159, 43)
HSLhsl(71, 57%, 40%)
HSVhsv(71, 73%, 62%)
CMYKcmyk(13.2%, 0%, 73%, 37.6%)
CIE-LABlab(61.98, -23.10, 54.63)
CIE-LCHlch(61.98, 59.31, 112.93°)
OKLaboklab(66.43% -0.0685 0.1216)
OKLCHoklch(66.43% 0.14 119.4)
XYZxyz(23.3159, 30.3741, 6.9195)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F2B #402B9F
analogous
#9F7A2B #8A9F2B #509F2B
triadic
#8A9F2B #2B8A9F #9F2B8A
tetradic
#8A9F2B #2B9F7A #402B9F #9F2B50
square
#8A9F2B #2B9F7A #402B9F #9F2B50
split-complementary
#8A9F2B #2B509F #7A2B9F
monochromatic
#363F11 #606F1E #8A9F2B #B1CA3D #C4D76D

Accessibility & contrast

On white

2.97
#8A9F2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8A9F2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F2B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F2B#FFFFFF#000000##000000
##8A9F2B1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99615
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#929689
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f2b;
/* rgb */ color: rgb(138, 159, 43);
/* oklch */ color: oklch(66.4% 0.140 119.4);
Tailwind
colors: {
  custom: {
    50: '#afbb6d',
    500: '#8a9f2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f2b;
$custom-light: #afbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f2b",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 70.862,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6643,
    "c": 0.13954,
    "h": 119.4
  },
  "luminance": 0.30374
}

Semantic roles & 50–950 ramp

primary
#8A9F2B
secondary
#7767BE
accent
#47E163
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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