#5E792B#5E792B

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

Color values

HEX#5E792B
RGBrgb(94, 121, 43)
HSLhsl(81, 48%, 32%)
HSVhsv(81, 64%, 47%)
CMYKcmyk(22.3%, 0%, 64.5%, 52.5%)
CIE-LABlab(47.27, -22.67, 38.48)
CIE-LCHlch(47.27, 44.66, 120.50°)
OKLaboklab(53.77% -0.0645 0.0886)
OKLCHoklch(53.77% 0.11 126.1)
XYZxyz(11.8895, 16.2287, 4.7911)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E792B #462B79
analogous
#796D2B #5E792B #37792B
triadic
#5E792B #2B5E79 #792B5E
tetradic
#5E792B #2B796D #462B79 #792B37
square
#5E792B #2B796D #462B79 #792B37
split-complementary
#5E792B #2B3779 #6D2B79
monochromatic
#181F0B #3B4C1B #5E792B #81A63B #A0C45A

Accessibility & contrast

On white

4.95
#5E792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E792B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E792B#FFFFFF#000000##FFFFFF
##5E792B1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#627369
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e792b;
/* rgb */ color: rgb(94, 121, 43);
/* oklch */ color: oklch(53.8% 0.110 126.1);
Tailwind
colors: {
  custom: {
    50: '#8e9f68',
    500: '#5e792b',
    950: '#000000',
  },
}
SCSS
$custom: #5e792b;
$custom-light: #8e9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#5e792b",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 80.769,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.10962,
    "h": 126.1
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#5E792B
secondary
#7356AA
accent
#51D77F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E792B

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

Preview Lab → · Contrast checker → · Palette generator →

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