#5E7112#5E7112

#5E7112 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.5% C 0.116 H 121.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5E7112
RGBrgb(94, 113, 18)
HSLhsl(72, 73%, 26%)
HSVhsv(72, 84%, 44%)
CMYKcmyk(16.8%, 0%, 84.1%, 55.7%)
CIE-LABlab(44.57, -20.16, 45.68)
CIE-LCHlch(44.57, 49.93, 113.81°)
OKLaboklab(51.53% -0.0599 0.0996)
OKLCHoklch(51.53% 0.116 121)
XYZxyz(10.6306, 14.2336, 2.7595)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7112 #251271
analogous
#715412 #5E7112 #2E7112
triadic
#5E7112 #125E71 #71125E
tetradic
#5E7112 #127154 #251271 #71122E
square
#5E7112 #127154 #251271 #71122E
split-complementary
#5E7112 #122E71 #541271
monochromatic
#161A04 #323C0A #5E7112 #8AA61A #B6DB23

Accessibility & contrast

On white

5.46
#5E7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5E7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7112
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7112#FFFFFF#000000##FFFFFF
##5E71121.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#646B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7112;
/* rgb */ color: rgb(94, 113, 18);
/* oklch */ color: oklch(51.5% 0.116 121.0);
Tailwind
colors: {
  custom: {
    50: '#8f995a',
    500: '#5e7112',
    950: '#000000',
  },
}
SCSS
$custom: #5e7112;
$custom-light: #8f995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7112",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 72,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.11627,
    "h": 121
  },
  "luminance": 0.14234
}

Semantic roles & 50–950 ramp

primary
#5E7112
secondary
#4D37A8
accent
#39EF5D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7112

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

Preview Lab → · Contrast checker → · Palette generator →

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