#5F8230#5F8230

#5F8230 is a mid, moderate yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.118 H 129.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5F8230
RGBrgb(95, 130, 48)
HSLhsl(86, 46%, 35%)
HSVhsv(86, 63%, 51%)
CMYKcmyk(26.9%, 0%, 63.1%, 49%)
CIE-LABlab(50.23, -26.31, 39.41)
CIE-LCHlch(50.23, 47.39, 123.73°)
OKLaboklab(56.2% -0.0742 0.0912)
OKLCHoklch(56.2% 0.118 129.1)
XYZxyz(13.2354, 18.6113, 5.6907)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8230 #533082
analogous
#827C30 #5F8230 #368230
triadic
#5F8230 #305F82 #82305F
tetradic
#5F8230 #30827C #533082 #823036
square
#5F8230 #30827C #533082 #823036
split-complementary
#5F8230 #303682 #7C3082
monochromatic
#1E290F #3E551F #5F8230 #80AF41 #9DC666

Accessibility & contrast

On white

4.45
#5F8230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5F8230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8230
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8230#FFFFFF#000000##000000
##5F82301.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887927
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#627C71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f8230;
/* rgb */ color: rgb(95, 130, 48);
/* oklch */ color: oklch(56.2% 0.118 129.1);
Tailwind
colors: {
  custom: {
    50: '#8fa66c',
    500: '#5f8230',
    950: '#000000',
  },
}
SCSS
$custom: #5f8230;
$custom-light: #8fa66c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8230",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 48
  },
  "hsl": {
    "h": 85.61,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.11757,
    "h": 129.1
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#5F8230
secondary
#8160AE
accent
#52D68A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F07
muted
#7D7F7A

Preview Lab

Preview with #5F8230

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

Preview Lab → · Contrast checker → · Palette generator →

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