#4F7E2B#4F7E2B

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

Color values

HEX#4F7E2B
RGBrgb(79, 126, 43)
HSLhsl(94, 49%, 33%)
HSVhsv(94, 66%, 49%)
CMYKcmyk(37.3%, 0%, 65.9%, 50.6%)
CIE-LABlab(47.95, -31.11, 38.96)
CIE-LCHlch(47.95, 49.86, 128.60°)
OKLaboklab(54.08% -0.0867 0.0899)
OKLCHoklch(54.08% 0.125 134)
XYZxyz(11.1211, 16.7579, 4.9337)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E2B #5A2B7E
analogous
#787E2B #4F7E2B #2B7E31
triadic
#4F7E2B #2B4F7E #7E2B4F
tetradic
#4F7E2B #2B787E #5A2B7E #7E312B
square
#4F7E2B #2B787E #5A2B7E #7E312B
split-complementary
#4F7E2B #312B7E #7E2B78
monochromatic
#16230C #32501B #4F7E2B #6CAC3B #8BC75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7E2B#FFFFFF#000000##FFFFFF
##4F7E2B1.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)
#837421
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#4F796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7e2b;
/* rgb */ color: rgb(79, 126, 43);
/* oklch */ color: oklch(54.1% 0.125 134.0);
Tailwind
colors: {
  custom: {
    50: '#84a468',
    500: '#4f7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e2b;
$custom-light: #84a468;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e2b",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 93.976,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.12491,
    "h": 134
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#4F7E2B
secondary
#8858AD
accent
#4FD99D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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