#5E792D#5E792D

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

Color values

HEX#5E792D
RGBrgb(94, 121, 45)
HSLhsl(81, 46%, 33%)
HSVhsv(81, 63%, 47%)
CMYKcmyk(22.3%, 0%, 62.8%, 52.5%)
CIE-LABlab(47.29, -22.49, 37.56)
CIE-LCHlch(47.29, 43.78, 120.91°)
OKLaboklab(53.79% -0.0638 0.0869)
OKLCHoklch(53.79% 0.108 126.3)
XYZxyz(11.9271, 16.2437, 4.9891)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E792D #482D79
analogous
#796E2D #5E792D #38792D
triadic
#5E792D #2D5E79 #792D5E
tetradic
#5E792D #2D796E #482D79 #792D38
square
#5E792D #2D796E #482D79 #792D38
split-complementary
#5E792D #2D3879 #6E2D79
monochromatic
#19200C #3B4C1C #5E792D #81A63E #9FC35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E792D#FFFFFF#000000##FFFFFF
##5E792D1.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)
#7F7124
Deuteranopia (green-blind)
#7B7032
Tritanopia (blue-blind)
#627469
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e792d;
/* rgb */ color: rgb(94, 121, 45);
/* oklch */ color: oklch(53.8% 0.108 126.3);
Tailwind
colors: {
  custom: {
    50: '#8e9f69',
    500: '#5e792d',
    950: '#000000',
  },
}
SCSS
$custom: #5e792d;
$custom-light: #8e9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#5e792d",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 81.316,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53792,
    "c": 0.10784,
    "h": 126.3
  },
  "luminance": 0.16244
}

Semantic roles & 50–950 ramp

primary
#5E792D
secondary
#7558A9
accent
#52D581
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E792D

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

Preview Lab → · Contrast checker → · Palette generator →

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