#5F7922#5F7922

#5F7922 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.8% C 0.116 H 124.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5F7922
RGBrgb(95, 121, 34)
HSLhsl(78, 56%, 30%)
HSVhsv(78, 72%, 47%)
CMYKcmyk(21.5%, 0%, 71.9%, 52.5%)
CIE-LABlab(47.27, -22.95, 42.48)
CIE-LCHlch(47.27, 48.28, 118.38°)
OKLaboklab(53.76% -0.0662 0.0957)
OKLCHoklch(53.76% 0.116 124.7)
XYZxyz(11.8455, 16.2230, 4.0204)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7922 #3C2279
analogous
#796722 #5F7922 #337922
triadic
#5F7922 #225F79 #79225F
tetradic
#5F7922 #227967 #3C2279 #792233
square
#5F7922 #227967 #3C2279 #792233
split-complementary
#5F7922 #223379 #672279
monochromatic
#141907 #394915 #5F7922 #85A92F #A5CC49

Accessibility & contrast

On white

4.95
#5F7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5F7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7922
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7922#FFFFFF#000000##FFFFFF
##5F79221.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#647368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f7922;
/* rgb */ color: rgb(95, 121, 34);
/* oklch */ color: oklch(53.8% 0.116 124.7);
Tailwind
colors: {
  custom: {
    50: '#8f9f63',
    500: '#5f7922',
    950: '#000000',
  },
}
SCSS
$custom: #5f7922;
$custom-light: #8f9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7922",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 77.931,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.11638,
    "h": 124.7
  },
  "luminance": 0.16223
}

Semantic roles & 50–950 ramp

primary
#5F7922
secondary
#684BAC
accent
#48DF76
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #5F7922

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

Preview Lab → · Contrast checker → · Palette generator →

#5F7922 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva