#5F9237#5F9237

#5F9237 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.4% C 0.134 H 133.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5F9237
RGBrgb(95, 146, 55)
HSLhsl(94, 45%, 39%)
HSVhsv(94, 62%, 57%)
CMYKcmyk(34.9%, 0%, 62.3%, 42.7%)
CIE-LABlab(55.35, -33.25, 41.84)
CIE-LCHlch(55.35, 53.45, 128.48°)
OKLaboklab(60.38% -0.0927 0.0972)
OKLCHoklch(60.38% 0.134 133.6)
XYZxyz(15.6875, 23.2659, 7.2779)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9237 #6A3792
analogous
#8D9237 #5F9237 #37923C
triadic
#5F9237 #375F92 #92375F
tetradic
#5F9237 #378D92 #6A3792 #923C37
square
#5F9237 #378D92 #6A3792 #923C37
split-complementary
#5F9237 #3C3792 #92378D
monochromatic
#253916 #426626 #5F9237 #7CBB4B #9DCC77

Accessibility & contrast

On white

3.71
#5F9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5F9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9237
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9237#FFFFFF#000000##000000
##5F92371.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872D
Deuteranopia (green-blind)
#90833E
Tritanopia (blue-blind)
#5F8C7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f9237;
/* rgb */ color: rgb(95, 146, 55);
/* oklch */ color: oklch(60.4% 0.134 133.6);
Tailwind
colors: {
  custom: {
    50: '#90b272',
    500: '#5f9237',
    950: '#000000',
  },
}
SCSS
$custom: #5f9237;
$custom-light: #90b272;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9237",
  "rgb": {
    "r": 95,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 93.626,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.1343,
    "h": 133.6
  },
  "luminance": 0.23267
}

Semantic roles & 50–950 ramp

primary
#5F9237
secondary
#9770B5
accent
#53D59C
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5F9237

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

Preview Lab → · Contrast checker → · Palette generator →

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