#4F7A2E#4F7A2E

#4F7A2E is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.1% C 0.117 H 133.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4F7A2E
RGBrgb(79, 122, 46)
HSLhsl(94, 45%, 33%)
HSVhsv(94, 62%, 48%)
CMYKcmyk(35.2%, 0%, 62.3%, 52.2%)
CIE-LABlab(46.68, -28.93, 36.13)
CIE-LCHlch(46.68, 46.29, 128.68°)
OKLaboklab(53.05% -0.0805 0.0842)
OKLCHoklch(53.05% 0.117 133.7)
XYZxyz(10.6769, 15.7782, 5.0672)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7A2E #592E7A
analogous
#757A2E #4F7A2E #2E7A33
triadic
#4F7A2E #2E4F7A #7A2E4F
tetradic
#4F7A2E #2E757A #592E7A #7A332E
square
#4F7A2E #2E757A #592E7A #7A332E
split-complementary
#4F7A2E #332E7A #7A2E75
monochromatic
#15210C #324E1D #4F7A2E #6CA63F #8BC360

Accessibility & contrast

On white

5.05
#4F7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4F7A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7A2E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7A2E#FFFFFF#000000##FFFFFF
##4F7A2E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#796D34
Tritanopia (blue-blind)
#4F756A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7a2e;
/* rgb */ color: rgb(79, 122, 46);
/* oklch */ color: oklch(53.1% 0.117 133.7);
Tailwind
colors: {
  custom: {
    50: '#83a16a',
    500: '#4f7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #4f7a2e;
$custom-light: #83a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7a2e",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 93.947,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53053,
    "c": 0.11652,
    "h": 133.7
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#4F7A2E
secondary
#875AAA
accent
#53D59C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4F7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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