#5E792E#5E792E

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

Color values

HEX#5E792E
RGBrgb(94, 121, 46)
HSLhsl(82, 45%, 33%)
HSVhsv(82, 62%, 47%)
CMYKcmyk(22.3%, 0%, 62%, 52.5%)
CIE-LABlab(47.30, -22.40, 37.09)
CIE-LCHlch(47.30, 43.33, 121.13°)
OKLaboklab(53.8% -0.0635 0.086)
OKLCHoklch(53.8% 0.107 126.4)
XYZxyz(11.9466, 16.2515, 5.0917)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E792E #492E79
analogous
#796E2E #5E792E #38792E
triadic
#5E792E #2E5E79 #792E5E
tetradic
#5E792E #2E796E #492E79 #792E38
square
#5E792E #2E796E #492E79 #792E38
split-complementary
#5E792E #2E3879 #6E2E79
monochromatic
#19200C #3C4D1D #5E792E #80A53F #9FC25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E792E#FFFFFF#000000##FFFFFF
##5E792E1.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)
#7F7126
Deuteranopia (green-blind)
#7B7033
Tritanopia (blue-blind)
#627469
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e792e;
/* rgb */ color: rgb(94, 121, 46);
/* oklch */ color: oklch(53.8% 0.107 126.4);
Tailwind
colors: {
  custom: {
    50: '#8e9f6a',
    500: '#5e792e',
    950: '#000000',
  },
}
SCSS
$custom: #5e792e;
$custom-light: #8e9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e792e",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 81.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53804,
    "c": 0.10692,
    "h": 126.4
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#5E792E
secondary
#765AA9
accent
#53D582
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E792E

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

Preview Lab → · Contrast checker → · Palette generator →

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