#5F792B#5F792B

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

Color values

HEX#5F792B
RGBrgb(95, 121, 43)
HSLhsl(80, 48%, 32%)
HSVhsv(80, 64%, 47%)
CMYKcmyk(21.5%, 0%, 64.5%, 52.5%)
CIE-LABlab(47.34, -22.24, 38.58)
CIE-LCHlch(47.34, 44.53, 119.97°)
OKLaboklab(53.84% -0.0634 0.0888)
OKLCHoklch(53.84% 0.109 125.5)
XYZxyz(11.9928, 16.2819, 4.7959)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F792B #452B79
analogous
#796C2B #5F792B #38792B
triadic
#5F792B #2B5F79 #792B5F
tetradic
#5F792B #2B796C #452B79 #792B38
square
#5F792B #2B796C #452B79 #792B38
split-complementary
#5F792B #2B3879 #6C2B79
monochromatic
#181F0B #3C4C1B #5F792B #82A63B #A1C45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F792B#FFFFFF#000000##FFFFFF
##5F792B1.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)
#7F7122
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#637369
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f792b;
/* rgb */ color: rgb(95, 121, 43);
/* oklch */ color: oklch(53.8% 0.109 125.5);
Tailwind
colors: {
  custom: {
    50: '#8f9f68',
    500: '#5f792b',
    950: '#000000',
  },
}
SCSS
$custom: #5f792b;
$custom-light: #8f9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f792b",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 80,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.10913,
    "h": 125.5
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#5F792B
secondary
#7256AA
accent
#51D77D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E06
muted
#7D7E7A

Preview Lab

Preview with #5F792B

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

Preview Lab → · Contrast checker → · Palette generator →

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