#5E831E#5E831E

#5E831E is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.133 H 128.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E831E
RGBrgb(94, 131, 30)
HSLhsl(82, 63%, 32%)
HSVhsv(82, 77%, 51%)
CMYKcmyk(28.2%, 0%, 77.1%, 48.6%)
CIE-LABlab(50.34, -28.56, 47.05)
CIE-LCHlch(50.34, 55.03, 121.26°)
OKLaboklab(56.23% -0.0819 0.1046)
OKLCHoklch(56.23% 0.133 128)
XYZxyz(12.9667, 18.7057, 4.1554)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E831E #431E83
analogous
#83761E #5E831E #2C831E
triadic
#5E831E #1E5E83 #831E5E
tetradic
#5E831E #1E8376 #431E83 #831E2C
square
#5E831E #1E8376 #431E83 #831E2C
split-complementary
#5E831E #1E2C83 #761E83
monochromatic
#171F07 #3A5113 #5E831E #82B529 #A1D547

Accessibility & contrast

On white

4.43
#5E831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5E831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E831E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E831E#FFFFFF#000000##000000
##5E831E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7908
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#617D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e831e;
/* rgb */ color: rgb(94, 131, 30);
/* oklch */ color: oklch(56.2% 0.133 128.0);
Tailwind
colors: {
  custom: {
    50: '#8fa762',
    500: '#5e831e',
    950: '#000000',
  },
}
SCSS
$custom: #5e831e;
$custom-light: #8fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#5e831e",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 81.98,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.13287,
    "h": 128
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#5E831E
secondary
#7047B6
accent
#42E67E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E831E

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

Preview Lab → · Contrast checker → · Palette generator →

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