#5F9733#5F9733

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

Color values

HEX#5F9733
RGBrgb(95, 151, 51)
HSLhsl(94, 50%, 40%)
HSVhsv(94, 66%, 59%)
CMYKcmyk(37.1%, 0%, 66.2%, 40.8%)
CIE-LABlab(56.88, -35.89, 45.33)
CIE-LCHlch(56.88, 57.82, 128.37°)
OKLaboklab(61.62% -0.1002 0.1041)
OKLCHoklch(61.62% 0.145 133.9)
XYZxyz(16.3832, 24.8044, 7.0558)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9733 #6B3397
analogous
#919733 #5F9733 #339739
triadic
#5F9733 #335F97 #97335F
tetradic
#5F9733 #339197 #6B3397 #973933
square
#5F9733 #339197 #6B3397 #973933
split-complementary
#5F9733 #393397 #973391
monochromatic
#253C14 #426924 #5F9733 #7CC147 #9DD074

Accessibility & contrast

On white

3.52
#5F9733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9733#FFFFFF#000000##000000
##5F97331.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B26
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#5F9182
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9733;
/* rgb */ color: rgb(95, 151, 51);
/* oklch */ color: oklch(61.6% 0.145 133.9);
Tailwind
colors: {
  custom: {
    50: '#90b670',
    500: '#5f9733',
    950: '#000000',
  },
}
SCSS
$custom: #5f9733;
$custom-light: #90b670;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9733",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 93.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.14451,
    "h": 133.9
  },
  "luminance": 0.24805
}

Semantic roles & 50–950 ramp

primary
#5F9733
secondary
#976DB8
accent
#4FD99C
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5F9733

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

Preview Lab → · Contrast checker → · Palette generator →

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