#5E7117#5E7117

#5E7117 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.114 H 121.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5E7117
RGBrgb(94, 113, 23)
HSLhsl(73, 66%, 27%)
HSVhsv(73, 80%, 44%)
CMYKcmyk(16.8%, 0%, 79.6%, 55.7%)
CIE-LABlab(44.59, -19.93, 44.07)
CIE-LCHlch(44.59, 48.36, 114.33°)
OKLaboklab(51.56% -0.0589 0.0971)
OKLCHoklch(51.56% 0.114 121.2)
XYZxyz(10.6761, 14.2518, 2.9989)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7117 #2A1771
analogous
#715717 #5E7117 #317117
triadic
#5E7117 #175E71 #71175E
tetradic
#5E7117 #177157 #2A1771 #711731
square
#5E7117 #177157 #2A1771 #711731
split-complementary
#5E7117 #173171 #571771
monochromatic
#151905 #343E0D #5E7117 #88A421 #B1D42E

Accessibility & contrast

On white

5.45
#5E7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E7117
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7117#FFFFFF#000000##FFFFFF
##5E71171.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A02
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#646B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7117;
/* rgb */ color: rgb(94, 113, 23);
/* oklch */ color: oklch(51.6% 0.114 121.2);
Tailwind
colors: {
  custom: {
    50: '#8f995c',
    500: '#5e7117',
    950: '#000000',
  },
}
SCSS
$custom: #5e7117;
$custom-light: #8f995c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7117",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 72.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51556,
    "c": 0.1136,
    "h": 121.2
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#5E7117
secondary
#533DA7
accent
#3FE963
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7117

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

Preview Lab → · Contrast checker → · Palette generator →

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