#5F8530#5F8530

#5F8530 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.122 H 129.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5F8530
RGBrgb(95, 133, 48)
HSLhsl(87, 47%, 35%)
HSVhsv(87, 64%, 52%)
CMYKcmyk(28.6%, 0%, 63.9%, 47.8%)
CIE-LABlab(51.18, -27.78, 40.46)
CIE-LCHlch(51.18, 49.07, 124.47°)
OKLaboklab(56.96% -0.0782 0.0934)
OKLCHoklch(56.96% 0.122 129.9)
XYZxyz(13.6402, 19.4210, 5.8257)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8530 #563085
analogous
#858030 #5F8530 #348530
triadic
#5F8530 #305F85 #85305F
tetradic
#5F8530 #308580 #563085 #853034
square
#5F8530 #308580 #563085 #853034
split-complementary
#5F8530 #303485 #803085
monochromatic
#1F2B10 #3F5820 #5F8530 #7FB240 #9DC867

Accessibility & contrast

On white

4.30
#5F8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5F8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8530
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8530#FFFFFF#000000##000000
##5F85301.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C26
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#617F73
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f8530;
/* rgb */ color: rgb(95, 133, 48);
/* oklch */ color: oklch(57.0% 0.122 129.9);
Tailwind
colors: {
  custom: {
    50: '#8fa86c',
    500: '#5f8530',
    950: '#000000',
  },
}
SCSS
$custom: #5f8530;
$custom-light: #8fa86c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8530",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 86.824,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.12185,
    "h": 129.9
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#5F8530
secondary
#8461AF
accent
#51D78D
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #5F8530

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

Preview Lab → · Contrast checker → · Palette generator →

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