#5F7724#5F7724

#5F7724 is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.3% C 0.112 H 124.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5F7724
RGBrgb(95, 119, 36)
HSLhsl(77, 54%, 30%)
HSVhsv(77, 70%, 47%)
CMYKcmyk(20.2%, 0%, 69.7%, 53.3%)
CIE-LABlab(46.65, -21.78, 41.00)
CIE-LCHlch(46.65, 46.43, 117.98°)
OKLaboklab(53.26% -0.0628 0.0929)
OKLCHoklch(53.26% 0.112 124.1)
XYZxyz(11.6347, 15.7538, 4.0966)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7724 #3C2477
analogous
#776524 #5F7724 #367724
triadic
#5F7724 #245F77 #77245F
tetradic
#5F7724 #247765 #3C2477 #772436
square
#5F7724 #247765 #3C2477 #772436
split-complementary
#5F7724 #243677 #652477
monochromatic
#141908 #394816 #5F7724 #85A632 #A5C94C

Accessibility & contrast

On white

5.06
#5F7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5F7724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7724
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7724#FFFFFF#000000##FFFFFF
##5F77241.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F18
Deuteranopia (green-blind)
#7B6E2B
Tritanopia (blue-blind)
#647166
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f7724;
/* rgb */ color: rgb(95, 119, 36);
/* oklch */ color: oklch(53.3% 0.112 124.1);
Tailwind
colors: {
  custom: {
    50: '#8f9e64',
    500: '#5f7724',
    950: '#000000',
  },
}
SCSS
$custom: #5f7724;
$custom-light: #8f9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7724",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 77.349,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53265,
    "c": 0.11216,
    "h": 124.1
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#5F7724
secondary
#684DAA
accent
#4BDD75
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #5F7724

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

Preview Lab → · Contrast checker → · Palette generator →

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