#4F7E2A#4F7E2A

#4F7E2A is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.126 H 133.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4F7E2A
RGBrgb(79, 126, 42)
HSLhsl(94, 50%, 33%)
HSVhsv(94, 67%, 49%)
CMYKcmyk(37.3%, 0%, 66.7%, 50.6%)
CIE-LABlab(47.94, -31.20, 39.41)
CIE-LCHlch(47.94, 50.27, 128.37°)
OKLaboklab(54.07% -0.0871 0.0907)
OKLCHoklch(54.07% 0.126 133.8)
XYZxyz(11.1030, 16.7507, 4.8382)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E2A #592A7E
analogous
#797E2A #4F7E2A #2A7E2F
triadic
#4F7E2A #2A4F7E #7E2A4F
tetradic
#4F7E2A #2A797E #592A7E #7E2F2A
square
#4F7E2A #2A797E #592A7E #7E2F2A
split-complementary
#4F7E2A #2F2A7E #7E2A79
monochromatic
#15220B #32501B #4F7E2A #6CAC39 #8BC85A

Accessibility & contrast

On white

4.83
#4F7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4F7E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7E2A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7E2A#FFFFFF#000000##FFFFFF
##4F7E2A1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#4F796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7e2a;
/* rgb */ color: rgb(79, 126, 42);
/* oklch */ color: oklch(54.1% 0.126 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a468',
    500: '#4f7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e2a;
$custom-light: #84a468;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e2a",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 93.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.12574,
    "h": 133.8
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#4F7E2A
secondary
#8756AE
accent
#4EDA9C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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