#8B9E22#8B9E22

#8B9E22 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.2% C 0.143 H 118.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B9E22
RGBrgb(139, 158, 34)
HSLhsl(69, 65%, 38%)
HSVhsv(69, 78%, 62%)
CMYKcmyk(12%, 0%, 78.5%, 38%)
CIE-LABlab(61.70, -22.62, 57.47)
CIE-LCHlch(61.70, 61.76, 111.48°)
OKLaboklab(66.22% -0.068 0.126)
OKLCHoklch(66.22% 0.143 118.4)
XYZxyz(23.1636, 30.0584, 6.0946)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9E22 #35229E
analogous
#9E7322 #8B9E22 #4D9E22
triadic
#8B9E22 #228B9E #9E228B
tetradic
#8B9E22 #229E73 #35229E #9E224D
square
#8B9E22 #229E73 #35229E #9E224D
split-complementary
#8B9E22 #224D9E #73229E
monochromatic
#32390C #5F6C17 #8B9E22 #B7D02D #C9DC5E

Accessibility & contrast

On white

3.00
#8B9E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#8B9E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9E22
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9E22#FFFFFF#000000##000000
##8B9E221.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#949587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b9e22;
/* rgb */ color: rgb(139, 158, 34);
/* oklch */ color: oklch(66.2% 0.143 118.4);
Tailwind
colors: {
  custom: {
    50: '#b0ba68',
    500: '#8b9e22',
    950: '#000000',
  },
}
SCSS
$custom: #8b9e22;
$custom-light: #b0ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9e22",
  "rgb": {
    "r": 139,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 69.194,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.14314,
    "h": 118.4
  },
  "luminance": 0.30058
}

Semantic roles & 50–950 ramp

primary
#8B9E22
secondary
#6A5BC1
accent
#40E85A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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