#4F7E27#4F7E27

#4F7E27 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.128 H 133.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4F7E27
RGBrgb(79, 126, 39)
HSLhsl(92, 53%, 32%)
HSVhsv(92, 69%, 49%)
CMYKcmyk(37.3%, 0%, 69%, 50.6%)
CIE-LABlab(47.92, -31.47, 40.72)
CIE-LCHlch(47.92, 51.46, 127.70°)
OKLaboklab(54.04% -0.0881 0.093)
OKLCHoklch(54.04% 0.128 133.4)
XYZxyz(11.0513, 16.7300, 4.5660)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E27 #56277E
analogous
#7A7E27 #4F7E27 #277E2B
triadic
#4F7E27 #274F7E #7E274F
tetradic
#4F7E27 #277A7E #56277E #7E2B27
square
#4F7E27 #277A7E #56277E #7E2B27
split-complementary
#4F7E27 #2B277E #7E277A
monochromatic
#14210A #324F19 #4F7E27 #6CAD35 #8BCA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7E27#FFFFFF#000000##FFFFFF
##4F7E271.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)
#83741B
Deuteranopia (green-blind)
#7D702E
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7e27;
/* rgb */ color: rgb(79, 126, 39);
/* oklch */ color: oklch(54.0% 0.128 133.4);
Tailwind
colors: {
  custom: {
    50: '#84a366',
    500: '#4f7e27',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e27;
$custom-light: #84a366;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e27",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 92.414,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.12811,
    "h": 133.4
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#4F7E27
secondary
#8452AF
accent
#4CDC9A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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