#8B9F22#8B9F22

#8B9F22 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.144 H 118.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8B9F22
RGBrgb(139, 159, 34)
HSLhsl(70, 65%, 38%)
HSVhsv(70, 79%, 62%)
CMYKcmyk(12.6%, 0%, 78.6%, 37.6%)
CIE-LABlab(62.00, -23.12, 57.74)
CIE-LCHlch(62.00, 62.19, 111.82°)
OKLaboklab(66.45% -0.0693 0.1265)
OKLCHoklch(66.45% 0.144 118.7)
XYZxyz(23.3349, 30.4009, 6.1517)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9F22 #36229F
analogous
#9F7422 #8B9F22 #4C9F22
triadic
#8B9F22 #228B9F #9F228B
tetradic
#8B9F22 #229F74 #36229F #9F224C
square
#8B9F22 #229F74 #36229F #9F224C
split-complementary
#8B9F22 #224C9F #74229F
monochromatic
#333A0C #5F6D17 #8B9F22 #B7D12D #C9DD5F

Accessibility & contrast

On white

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

On black

7.08
#8B9F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9F22
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9F22#FFFFFF#000000##000000
##8B9F221.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A8962E
Tritanopia (blue-blind)
#949688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b9f22;
/* rgb */ color: rgb(139, 159, 34);
/* oklch */ color: oklch(66.5% 0.144 118.7);
Tailwind
colors: {
  custom: {
    50: '#b0bb68',
    500: '#8b9f22',
    950: '#000000',
  },
}
SCSS
$custom: #8b9f22;
$custom-light: #b0bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9f22",
  "rgb": {
    "r": 139,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 69.6,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66451,
    "c": 0.1443,
    "h": 118.7
  },
  "luminance": 0.30401
}

Semantic roles & 50–950 ramp

primary
#8B9F22
secondary
#6C5BC1
accent
#40E85B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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