#4F7A1E#4F7A1E

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

Color values

HEX#4F7A1E
RGBrgb(79, 122, 30)
HSLhsl(88, 61%, 30%)
HSVhsv(88, 75%, 48%)
CMYKcmyk(35.2%, 0%, 75.4%, 52.2%)
CIE-LABlab(46.54, -30.30, 43.03)
CIE-LCHlch(46.54, 52.63, 125.15°)
OKLaboklab(52.9% -0.0856 0.0965)
OKLCHoklch(52.9% 0.129 131.6)
XYZxyz(10.4182, 15.6747, 3.7046)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7A1E #491E7A
analogous
#7A771E #4F7A1E #217A1E
triadic
#4F7A1E #1E4F7A #7A1E4F
tetradic
#4F7A1E #1E7A77 #491E7A #7A1E21
square
#4F7A1E #1E7A77 #491E7A #7A1E21
split-complementary
#4F7A1E #1E217A #771E7A
monochromatic
#101906 #2F4912 #4F7A1E #6FAB2A #8ED042

Accessibility & contrast

On white

5.08
#4F7A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F7A1E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7A1E#FFFFFF#000000##FFFFFF
##4F7A1E1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700D
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#507568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f7a1e;
/* rgb */ color: rgb(79, 122, 30);
/* oklch */ color: oklch(52.9% 0.129 131.6);
Tailwind
colors: {
  custom: {
    50: '#84a061',
    500: '#4f7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f7a1e;
$custom-light: #84a061;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7a1e",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 88.043,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.12905,
    "h": 131.6
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#4F7A1E
secondary
#7746AE
accent
#44E48F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4F7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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