#5F8925#5F8925

#5F8925 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.9% C 0.136 H 129.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F8925
RGBrgb(95, 137, 37)
HSLhsl(85, 57%, 34%)
HSVhsv(85, 73%, 54%)
CMYKcmyk(30.7%, 0%, 73%, 46.3%)
CIE-LABlab(52.35, -30.56, 46.41)
CIE-LCHlch(52.35, 55.57, 123.37°)
OKLaboklab(57.89% -0.0868 0.1044)
OKLCHoklch(57.89% 0.136 129.7)
XYZxyz(13.9988, 20.4574, 4.9610)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8925 #4F2589
analogous
#898125 #5F8925 #2D8925
triadic
#5F8925 #255F89 #89255F
tetradic
#5F8925 #258981 #4F2589 #89252D
square
#5F8925 #258981 #4F2589 #89252D
split-complementary
#5F8925 #252D89 #812589
monochromatic
#1C290B #3E5918 #5F8925 #80B932 #9ED257

Accessibility & contrast

On white

4.12
#5F8925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5F8925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8925
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8925#FFFFFF#000000##000000
##5F89251.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F14
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#628375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f8925;
/* rgb */ color: rgb(95, 137, 37);
/* oklch */ color: oklch(57.9% 0.136 129.7);
Tailwind
colors: {
  custom: {
    50: '#90ab66',
    500: '#5f8925',
    950: '#000000',
  },
}
SCSS
$custom: #5f8925;
$custom-light: #90ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8925",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 85.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.1358,
    "h": 129.7
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

primary
#5F8925
secondary
#7D54B6
accent
#47E188
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8925

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

Preview Lab → · Contrast checker → · Palette generator →

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