#5F9934#5F9934

#5F9934 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.1% C 0.146 H 134.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5F9934
RGBrgb(95, 153, 52)
HSLhsl(94, 49%, 40%)
HSVhsv(94, 66%, 60%)
CMYKcmyk(37.9%, 0%, 66%, 40%)
CIE-LABlab(57.52, -36.70, 45.58)
CIE-LCHlch(57.52, 58.52, 128.83°)
OKLaboklab(62.14% -0.1023 0.1048)
OKLCHoklch(62.14% 0.146 134.3)
XYZxyz(16.7301, 25.4625, 7.2814)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9934 #6E3499
analogous
#929934 #5F9934 #34993B
triadic
#5F9934 #345F99 #99345F
tetradic
#5F9934 #349299 #6E3499 #993B34
square
#5F9934 #349299 #6E3499 #993B34
split-complementary
#5F9934 #3B3499 #993492
monochromatic
#263E15 #436B24 #5F9934 #7CC149 #9DD177

Accessibility & contrast

On white

3.45
#5F9934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5F9934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9934
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9934#FFFFFF#000000##000000
##5F99341.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D27
Deuteranopia (green-blind)
#97883C
Tritanopia (blue-blind)
#5E9384
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9934;
/* rgb */ color: rgb(95, 153, 52);
/* oklch */ color: oklch(62.1% 0.146 134.3);
Tailwind
colors: {
  custom: {
    50: '#91b770',
    500: '#5f9934',
    950: '#000000',
  },
}
SCSS
$custom: #5f9934;
$custom-light: #91b770;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9934",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 94.455,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62143,
    "c": 0.14645,
    "h": 134.3
  },
  "luminance": 0.25463
}

Semantic roles & 50–950 ramp

primary
#5F9934
secondary
#9A70B9
accent
#4FD99E
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5F9934

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

Preview Lab → · Contrast checker → · Palette generator →

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