#5F792A#5F792A

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

Color values

HEX#5F792A
RGBrgb(95, 121, 42)
HSLhsl(80, 48%, 32%)
HSVhsv(80, 65%, 47%)
CMYKcmyk(21.5%, 0%, 65.3%, 52.5%)
CIE-LABlab(47.33, -22.33, 39.03)
CIE-LCHlch(47.33, 44.97, 119.77°)
OKLaboklab(53.83% -0.0638 0.0896)
OKLCHoklch(53.83% 0.11 125.4)
XYZxyz(11.9746, 16.2747, 4.7005)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F792A #442A79
analogous
#796C2A #5F792A #38792A
triadic
#5F792A #2A5F79 #792A5F
tetradic
#5F792A #2A796C #442A79 #792A38
square
#5F792A #2A796C #442A79 #792A38
split-complementary
#5F792A #2A3879 #6C2A79
monochromatic
#181E0A #3B4C1A #5F792A #83A63A #A1C558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F792A#FFFFFF#000000##FFFFFF
##5F792A1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#637368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f792a;
/* rgb */ color: rgb(95, 121, 42);
/* oklch */ color: oklch(53.8% 0.110 125.4);
Tailwind
colors: {
  custom: {
    50: '#8f9f67',
    500: '#5f792a',
    950: '#000000',
  },
}
SCSS
$custom: #5f792a;
$custom-light: #8f9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f792a",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 79.747,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.10999,
    "h": 125.4
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#5F792A
secondary
#7154AB
accent
#50D87D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E06
muted
#7D7E7A

Preview Lab

Preview with #5F792A

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

Preview Lab → · Contrast checker → · Palette generator →

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