#4F7724#4F7724

#4F7724 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.121 H 131.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4F7724
RGBrgb(79, 119, 36)
HSLhsl(89, 54%, 30%)
HSVhsv(89, 70%, 47%)
CMYKcmyk(33.6%, 0%, 69.7%, 53.3%)
CIE-LABlab(45.61, -28.43, 39.59)
CIE-LCHlch(45.61, 48.74, 125.68°)
OKLaboklab(52.15% -0.08 0.0903)
OKLCHoklch(52.15% 0.121 131.6)
XYZxyz(10.1396, 14.9829, 4.0265)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7724 #4C2477
analogous
#777524 #4F7724 #257724
triadic
#4F7724 #244F77 #77244F
tetradic
#4F7724 #247775 #4C2477 #772425
square
#4F7724 #247775 #4C2477 #772425
split-complementary
#4F7724 #242577 #752477
monochromatic
#111908 #304816 #4F7724 #6EA632 #8DC94C

Accessibility & contrast

On white

5.25
#4F7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4F7724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7724
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7724#FFFFFF#000000##FFFFFF
##4F77241.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E18
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#507266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f7724;
/* rgb */ color: rgb(79, 119, 36);
/* oklch */ color: oklch(52.2% 0.121 131.6);
Tailwind
colors: {
  custom: {
    50: '#849e63',
    500: '#4f7724',
    950: '#000000',
  },
}
SCSS
$custom: #4f7724;
$custom-light: #849e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7724",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 88.916,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.12062,
    "h": 131.6
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#4F7724
secondary
#7A4DAA
accent
#4BDD91
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7724

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

Preview Lab → · Contrast checker → · Palette generator →

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