#5E8115#5E8115

#5E8115 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.7% C 0.135 H 127.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5E8115
RGBrgb(94, 129, 21)
HSLhsl(79, 72%, 29%)
HSVhsv(79, 84%, 51%)
CMYKcmyk(27.1%, 0%, 83.7%, 49.4%)
CIE-LABlab(49.66, -28.05, 49.34)
CIE-LCHlch(49.66, 56.76, 119.62°)
OKLaboklab(55.66% -0.0812 0.1079)
OKLCHoklch(55.66% 0.135 127)
XYZxyz(12.6018, 18.1341, 3.5456)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8115 #381581
analogous
#816E15 #5E8115 #288115
triadic
#5E8115 #155E81 #81155E
tetradic
#5E8115 #15816E #381581 #811528
square
#5E8115 #15816E #381581 #811528
split-complementary
#5E8115 #152881 #6E1581
monochromatic
#131A04 #384C0C #5E8115 #84B61E #A6DE33

Accessibility & contrast

On white

4.54
#5E8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5E8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8115
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8115#FFFFFF#000000##000000
##5E81151.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#627B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5e8115;
/* rgb */ color: rgb(94, 129, 21);
/* oklch */ color: oklch(55.7% 0.135 127.0);
Tailwind
colors: {
  custom: {
    50: '#8fa55e',
    500: '#5e8115',
    950: '#000000',
  },
}
SCSS
$custom: #5e8115;
$custom-light: #8fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8115",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 79.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55655,
    "c": 0.13506,
    "h": 127
  },
  "luminance": 0.18134
}

Semantic roles & 50–950 ramp

primary
#5E8115
secondary
#633CB6
accent
#39EF74
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E8115

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

Preview Lab → · Contrast checker → · Palette generator →

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