#4F7A24#4F7A24

#4F7A24 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.125 H 132.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4F7A24
RGBrgb(79, 122, 36)
HSLhsl(90, 54%, 31%)
HSVhsv(90, 70%, 48%)
CMYKcmyk(35.2%, 0%, 70.5%, 52.2%)
CIE-LABlab(46.59, -29.85, 40.62)
CIE-LCHlch(46.59, 50.41, 126.31°)
OKLaboklab(52.95% -0.0839 0.0924)
OKLCHoklch(52.95% 0.125 132.2)
XYZxyz(10.5023, 15.7083, 4.1474)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7A24 #4F247A
analogous
#7A7A24 #4F7A24 #247A24
triadic
#4F7A24 #244F7A #7A244F
tetradic
#4F7A24 #247A7A #4F247A #7A2424
square
#4F7A24 #247A7A #4F247A #7A2424
split-complementary
#4F7A24 #24247A #7A247A
monochromatic
#121B08 #304B16 #4F7A24 #6EA932 #8CCB4E

Accessibility & contrast

On white

5.07
#4F7A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4F7A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7A24
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7A24#FFFFFF#000000##FFFFFF
##4F7A241.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7118
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#507569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f7a24;
/* rgb */ color: rgb(79, 122, 36);
/* oklch */ color: oklch(52.9% 0.125 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a064',
    500: '#4f7a24',
    950: '#000000',
  },
}
SCSS
$custom: #4f7a24;
$custom-light: #84a064;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7a24",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 90,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.12483,
    "h": 132.2
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#4F7A24
secondary
#7D4DAC
accent
#4ADE94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4F7A24

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

Preview Lab → · Contrast checker → · Palette generator →

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