#5F9529#5F9529

#5F9529 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.149 H 132.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5F9529
RGBrgb(95, 149, 41)
HSLhsl(90, 57%, 37%)
HSVhsv(90, 72%, 58%)
CMYKcmyk(36.2%, 0%, 72.5%, 41.6%)
CIE-LABlab(56.17, -35.79, 48.71)
CIE-LCHlch(56.17, 60.45, 126.31°)
OKLaboklab(61.02% -0.1007 0.1098)
OKLCHoklch(61.02% 0.149 132.5)
XYZxyz(15.8668, 24.0872, 5.9107)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9529 #5F2995
analogous
#959529 #5F9529 #299529
triadic
#5F9529 #295F95 #95295F
tetradic
#5F9529 #299595 #5F2995 #952929
square
#5F9529 #299595 #5F2995 #952929
split-complementary
#5F9529 #292995 #952995
monochromatic
#22350F #40651C #5F9529 #7EC536 #9CD464

Accessibility & contrast

On white

3.61
#5F9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5F9529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9529
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9529#FFFFFF#000000##000000
##5F95291.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#608F80
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9529;
/* rgb */ color: rgb(95, 149, 41);
/* oklch */ color: oklch(61.0% 0.149 132.5);
Tailwind
colors: {
  custom: {
    50: '#91b46a',
    500: '#5f9529',
    950: '#000000',
  },
}
SCSS
$custom: #5f9529;
$custom-light: #91b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9529",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 90,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.14903,
    "h": 132.5
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#5F9529
secondary
#8D60BA
accent
#48E094
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9529

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

Preview Lab → · Contrast checker → · Palette generator →

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