#5F9326#5F9326

#5F9326 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.5% C 0.148 H 131.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5F9326
RGBrgb(95, 147, 38)
HSLhsl(89, 59%, 36%)
HSVhsv(89, 74%, 58%)
CMYKcmyk(35.4%, 0%, 74.1%, 42.4%)
CIE-LABlab(55.52, -35.10, 49.20)
CIE-LCHlch(55.52, 60.44, 125.50°)
OKLaboklab(60.48% -0.0991 0.1104)
OKLCHoklch(60.48% 0.148 131.9)
XYZxyz(15.5027, 23.4397, 5.5408)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9326 #5A2693
analogous
#939126 #5F9326 #299326
triadic
#5F9326 #265F93 #93265F
tetradic
#5F9326 #269391 #5A2693 #932629
square
#5F9326 #269391 #5A2693 #932629
split-complementary
#5F9326 #262993 #912693
monochromatic
#20320D #406219 #5F9326 #7EC433 #9CD55E

Accessibility & contrast

On white

3.69
#5F9326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5F9326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9326
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9326#FFFFFF#000000##000000
##5F93261.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998812
Deuteranopia (green-blind)
#928430
Tritanopia (blue-blind)
#608D7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f9326;
/* rgb */ color: rgb(95, 147, 38);
/* oklch */ color: oklch(60.5% 0.148 131.9);
Tailwind
colors: {
  custom: {
    50: '#91b368',
    500: '#5f9326',
    950: '#000000',
  },
}
SCSS
$custom: #5f9326;
$custom-light: #91b368;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9326",
  "rgb": {
    "r": 95,
    "g": 147,
    "b": 38
  },
  "hsl": {
    "h": 88.624,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.14835,
    "h": 131.9
  },
  "luminance": 0.2344
}

Semantic roles & 50–950 ramp

primary
#5F9326
secondary
#885ABA
accent
#46E290
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9326

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

Preview Lab → · Contrast checker → · Palette generator →

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