#5E792F#5E792F

#5E792F is a mid, moderate yellow-green. Relative luminance 0.163; OKLCH L 53.8% C 0.106 H 126.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5E792F
RGBrgb(94, 121, 47)
HSLhsl(82, 44%, 33%)
HSVhsv(82, 61%, 47%)
CMYKcmyk(22.3%, 0%, 61.2%, 52.5%)
CIE-LABlab(47.31, -22.30, 36.61)
CIE-LCHlch(47.31, 42.87, 121.35°)
OKLaboklab(53.82% -0.0631 0.0851)
OKLCHoklch(53.82% 0.106 126.6)
XYZxyz(11.9666, 16.2595, 5.1967)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E792F #4A2F79
analogous
#796F2F #5E792F #39792F
triadic
#5E792F #2F5E79 #792F5E
tetradic
#5E792F #2F796F #4A2F79 #792F39
square
#5E792F #2F796F #4A2F79 #792F39
split-complementary
#5E792F #2F3979 #6F2F79
monochromatic
#1A210D #3C4D1E #5E792F #80A540 #9EC261

Accessibility & contrast

On white

4.94
#5E792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5E792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E792F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E792F#FFFFFF#000000##FFFFFF
##5E792F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#7B7034
Tritanopia (blue-blind)
#617469
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e792f;
/* rgb */ color: rgb(94, 121, 47);
/* oklch */ color: oklch(53.8% 0.106 126.6);
Tailwind
colors: {
  custom: {
    50: '#8e9f6a',
    500: '#5e792f',
    950: '#000000',
  },
}
SCSS
$custom: #5e792f;
$custom-light: #8e9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e792f",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 81.892,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.10599,
    "h": 126.6
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#5E792F
secondary
#775BA8
accent
#54D483
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5E792F

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

Preview Lab → · Contrast checker → · Palette generator →

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