#5F9730#5F9730

#5F9730 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.6% C 0.147 H 133.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5F9730
RGBrgb(95, 151, 48)
HSLhsl(93, 52%, 39%)
HSVhsv(93, 68%, 59%)
CMYKcmyk(37.1%, 0%, 68.2%, 40.8%)
CIE-LABlab(56.86, -36.15, 46.59)
CIE-LCHlch(56.86, 58.97, 127.81°)
OKLaboklab(61.59% -0.1011 0.1064)
OKLCHoklch(61.59% 0.147 133.6)
XYZxyz(16.3191, 24.7788, 6.7187)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9730 #683097
analogous
#939730 #5F9730 #309734
triadic
#5F9730 #305F97 #97305F
tetradic
#5F9730 #309397 #683097 #973430
square
#5F9730 #309397 #683097 #973430
split-complementary
#5F9730 #343097 #973093
monochromatic
#253A12 #426921 #5F9730 #7CC341 #9CD270

Accessibility & contrast

On white

3.53
#5F9730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5F9730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9730
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9730#FFFFFF#000000##000000
##5F97301.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B22
Deuteranopia (green-blind)
#958739
Tritanopia (blue-blind)
#5F9182
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9730;
/* rgb */ color: rgb(95, 151, 48);
/* oklch */ color: oklch(61.6% 0.147 133.6);
Tailwind
colors: {
  custom: {
    50: '#91b66e',
    500: '#5f9730',
    950: '#000000',
  },
}
SCSS
$custom: #5f9730;
$custom-light: #91b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9730",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 92.621,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6159,
    "c": 0.14678,
    "h": 133.6
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#5F9730
secondary
#956AB9
accent
#4DDB9A
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9730

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

Preview Lab → · Contrast checker → · Palette generator →

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