#5E811F#5E811F

#5E811F is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.130 H 127.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5E811F
RGBrgb(94, 129, 31)
HSLhsl(81, 61%, 31%)
HSVhsv(81, 76%, 51%)
CMYKcmyk(27.1%, 0%, 76%, 49.4%)
CIE-LABlab(49.71, -27.53, 46.07)
CIE-LCHlch(49.71, 53.67, 120.86°)
OKLaboklab(55.72% -0.079 0.1028)
OKLCHoklch(55.72% 0.13 127.6)
XYZxyz(12.7137, 18.1789, 4.1351)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E811F #421F81
analogous
#81731F #5E811F #2D811F
triadic
#5E811F #1F5E81 #811F5E
tetradic
#5E811F #1F8173 #421F81 #811F2D
square
#5E811F #1F8173 #421F81 #811F2D
split-complementary
#5E811F #1F2D81 #731F81
monochromatic
#161E07 #3A5013 #5E811F #82B22B #A1D347

Accessibility & contrast

On white

4.53
#5E811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5E811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E811F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E811F#FFFFFF#000000##000000
##5E811F1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#627B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5e811f;
/* rgb */ color: rgb(94, 129, 31);
/* oklch */ color: oklch(55.7% 0.130 127.6);
Tailwind
colors: {
  custom: {
    50: '#8fa562',
    500: '#5e811f',
    950: '#000000',
  },
}
SCSS
$custom: #5e811f;
$custom-light: #8fa562;
$custom-dark: #000000;
JSON
{
  "hex": "#5e811f",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 81.429,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.12962,
    "h": 127.6
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#5E811F
secondary
#6E48B4
accent
#43E47D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E811F

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

Preview Lab → · Contrast checker → · Palette generator →

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