#5E831F#5E831F

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

Color values

HEX#5E831F
RGBrgb(94, 131, 31)
HSLhsl(82, 62%, 32%)
HSVhsv(82, 76%, 51%)
CMYKcmyk(28.2%, 0%, 76.3%, 48.6%)
CIE-LABlab(50.35, -28.50, 46.69)
CIE-LCHlch(50.35, 54.70, 121.40°)
OKLaboklab(56.23% -0.0816 0.104)
OKLCHoklch(56.23% 0.132 128.1)
XYZxyz(12.9797, 18.7109, 4.2238)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E831F #441F83
analogous
#83761F #5E831F #2C831F
triadic
#5E831F #1F5E83 #831F5E
tetradic
#5E831F #1F8376 #441F83 #831F2C
square
#5E831F #1F8376 #441F83 #831F2C
split-complementary
#5E831F #1F2C83 #761F83
monochromatic
#172008 #3A5213 #5E831F #82B42B #A0D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E831F#FFFFFF#000000##000000
##5E831F1.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)
#8A790A
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#617D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e831f;
/* rgb */ color: rgb(94, 131, 31);
/* oklch */ color: oklch(56.2% 0.132 128.1);
Tailwind
colors: {
  custom: {
    50: '#8fa762',
    500: '#5e831f',
    950: '#000000',
  },
}
SCSS
$custom: #5e831f;
$custom-light: #8fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#5e831f",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 82.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.13225,
    "h": 128.1
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#5E831F
secondary
#7148B6
accent
#43E57F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E831F

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

Preview Lab → · Contrast checker → · Palette generator →

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