#5F792D#5F792D

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

Color values

HEX#5F792D
RGBrgb(95, 121, 45)
HSLhsl(81, 46%, 33%)
HSVhsv(81, 63%, 47%)
CMYKcmyk(21.5%, 0%, 62.8%, 52.5%)
CIE-LABlab(47.36, -22.07, 37.65)
CIE-LCHlch(47.36, 43.64, 120.37°)
OKLaboklab(53.87% -0.0627 0.0871)
OKLCHoklch(53.87% 0.107 125.8)
XYZxyz(12.0304, 16.2970, 4.9939)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F792D #472D79
analogous
#796D2D #5F792D #39792D
triadic
#5F792D #2D5F79 #792D5F
tetradic
#5F792D #2D796D #472D79 #792D39
square
#5F792D #2D796D #472D79 #792D39
split-complementary
#5F792D #2D3979 #6D2D79
monochromatic
#19200C #3C4C1C #5F792D #82A63E #A0C35D

Accessibility & contrast

On white

4.93
#5F792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5F792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F792D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F792D#FFFFFF#000000##FFFFFF
##5F792D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#637369
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f792d;
/* rgb */ color: rgb(95, 121, 45);
/* oklch */ color: oklch(53.9% 0.107 125.8);
Tailwind
colors: {
  custom: {
    50: '#8f9f69',
    500: '#5f792d',
    950: '#000000',
  },
}
SCSS
$custom: #5f792d;
$custom-light: #8f9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#5f792d",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 80.526,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.10734,
    "h": 125.8
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#5F792D
secondary
#7458A9
accent
#52D57F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5F792D

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

Preview Lab → · Contrast checker → · Palette generator →

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