#5E7115#5E7115

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

Color values

HEX#5E7115
RGBrgb(94, 113, 21)
HSLhsl(72, 69%, 26%)
HSVhsv(72, 81%, 44%)
CMYKcmyk(16.8%, 0%, 81.4%, 55.7%)
CIE-LABlab(44.58, -20.02, 44.74)
CIE-LCHlch(44.58, 49.02, 114.11°)
OKLaboklab(51.54% -0.0593 0.0982)
OKLCHoklch(51.54% 0.115 121.1)
XYZxyz(10.6568, 14.2441, 2.8973)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7115 #281571
analogous
#715615 #5E7115 #307115
triadic
#5E7115 #155E71 #71155E
tetradic
#5E7115 #157156 #281571 #711530
square
#5E7115 #157156 #281571 #711530
split-complementary
#5E7115 #153071 #561571
monochromatic
#151A05 #333D0B #5E7115 #89A51F #B3D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7115#FFFFFF#000000##FFFFFF
##5E71151.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)
#786A00
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#646B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7115;
/* rgb */ color: rgb(94, 113, 21);
/* oklch */ color: oklch(51.5% 0.115 121.1);
Tailwind
colors: {
  custom: {
    50: '#8f995b',
    500: '#5e7115',
    950: '#000000',
  },
}
SCSS
$custom: #5e7115;
$custom-light: #8f995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7115",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 72.391,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.11472,
    "h": 121.1
  },
  "luminance": 0.14244
}

Semantic roles & 50–950 ramp

primary
#5E7115
secondary
#513BA7
accent
#3CEB60
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7115

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

Preview Lab → · Contrast checker → · Palette generator →

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