#5E792C#5E792C

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

Color values

HEX#5E792C
RGBrgb(94, 121, 44)
HSLhsl(81, 47%, 32%)
HSVhsv(81, 64%, 47%)
CMYKcmyk(22.3%, 0%, 63.6%, 52.5%)
CIE-LABlab(47.28, -22.58, 38.02)
CIE-LCHlch(47.28, 44.22, 120.70°)
OKLaboklab(53.78% -0.0642 0.0878)
OKLCHoklch(53.78% 0.109 126.2)
XYZxyz(11.9081, 16.2361, 4.8889)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E792C #472C79
analogous
#796E2C #5E792C #37792C
triadic
#5E792C #2C5E79 #792C5E
tetradic
#5E792C #2C796E #472C79 #792C37
square
#5E792C #2C796E #472C79 #792C37
split-complementary
#5E792C #2C3779 #6E2C79
monochromatic
#181F0B #3B4C1C #5E792C #81A63C #9FC45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E792C#FFFFFF#000000##FFFFFF
##5E792C1.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)
#7F7123
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#627369
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e792c;
/* rgb */ color: rgb(94, 121, 44);
/* oklch */ color: oklch(53.8% 0.109 126.2);
Tailwind
colors: {
  custom: {
    50: '#8e9f69',
    500: '#5e792c',
    950: '#000000',
  },
}
SCSS
$custom: #5e792c;
$custom-light: #8e9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#5e792c",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 81.039,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53781,
    "c": 0.10874,
    "h": 126.2
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#5E792C
secondary
#7457AA
accent
#51D680
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E792C

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

Preview Lab → · Contrast checker → · Palette generator →

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