#4F7E1A#4F7E1A

#4F7E1A is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.137 H 132.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4F7E1A
RGBrgb(79, 126, 26)
HSLhsl(88, 66%, 30%)
HSVhsv(88, 79%, 49%)
CMYKcmyk(37.3%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.83, -32.40, 45.74)
CIE-LCHlch(47.83, 56.05, 125.32°)
OKLaboklab(53.94% -0.0916 0.1016)
OKLCHoklch(53.94% 0.137 132.1)
XYZxyz(10.8716, 16.6581, 3.6196)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E1A #491A7E
analogous
#7E7B1A #4F7E1A #1D7E1A
triadic
#4F7E1A #1A4F7E #7E1A4F
tetradic
#4F7E1A #1A7E7B #491A7E #7E1A1D
square
#4F7E1A #1A7E7B #491A7E #7E1A1D
split-complementary
#4F7E1A #1A1D7E #7B1A7E
monochromatic
#101905 #2F4B10 #4F7E1A #6FB124 #8ED73C

Accessibility & contrast

On white

4.85
#4F7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4F7E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7E1A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7E1A#FFFFFF#000000##FFFFFF
##4F7E1A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847402
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#50796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7e1a;
/* rgb */ color: rgb(79, 126, 26);
/* oklch */ color: oklch(53.9% 0.137 132.1);
Tailwind
colors: {
  custom: {
    50: '#85a35f',
    500: '#4f7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e1a;
$custom-light: #85a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e1a",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 88.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53935,
    "c": 0.1368,
    "h": 132.1
  },
  "luminance": 0.16659
}

Semantic roles & 50–950 ramp

primary
#4F7E1A
secondary
#7742B2
accent
#3FE98F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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