#5E7E27#5E7E27

#5E7E27 is a mid, moderate yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.120 H 127.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5E7E27
RGBrgb(94, 126, 39)
HSLhsl(82, 53%, 32%)
HSVhsv(82, 69%, 49%)
CMYKcmyk(25.4%, 0%, 69%, 50.6%)
CIE-LABlab(48.82, -25.51, 41.94)
CIE-LCHlch(48.82, 49.09, 121.31°)
OKLaboklab(55.01% -0.0728 0.0954)
OKLCHoklch(55.01% 0.12 127.3)
XYZxyz(12.4432, 17.4476, 4.6312)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E27 #47277E
analogous
#7E7327 #5E7E27 #337E27
triadic
#5E7E27 #275E7E #7E275E
tetradic
#5E7E27 #277E73 #47277E #7E2733
square
#5E7E27 #277E73 #47277E #7E2733
split-complementary
#5E7E27 #27337E #73277E
monochromatic
#18210A #3B4F19 #5E7E27 #81AD35 #9FCA55

Accessibility & contrast

On white

4.68
#5E7E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5E7E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E27
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E27#FFFFFF#000000##FFFFFF
##5E7E271.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751B
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#62786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e27;
/* rgb */ color: rgb(94, 126, 39);
/* oklch */ color: oklch(55.0% 0.120 127.3);
Tailwind
colors: {
  custom: {
    50: '#8ea366',
    500: '#5e7e27',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e27;
$custom-light: #8ea366;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e27",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 82.069,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.11995,
    "h": 127.3
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#5E7E27
secondary
#7452AF
accent
#4CDC81
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5E7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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