#4F7F1A#4F7F1A

#4F7F1A is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.138 H 132.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4F7F1A
RGBrgb(79, 127, 26)
HSLhsl(89, 66%, 30%)
HSVhsv(89, 80%, 50%)
CMYKcmyk(37.8%, 0%, 79.5%, 50.2%)
CIE-LABlab(48.15, -32.86, 46.05)
CIE-LCHlch(48.15, 56.57, 125.51°)
OKLaboklab(54.2% -0.0929 0.1022)
OKLCHoklch(54.2% 0.138 132.3)
XYZxyz(11.0001, 16.9151, 3.6624)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7F1A #4A1A7F
analogous
#7F7D1A #4F7F1A #1C7F1A
triadic
#4F7F1A #1A4F7F #7F1A4F
tetradic
#4F7F1A #1A7F7D #4A1A7F #7F1A1C
square
#4F7F1A #1A7F7D #4A1A7F #7F1A1C
split-complementary
#4F7F1A #1A1C7F #7D1A7F
monochromatic
#101905 #2F4C10 #4F7F1A #6FB224 #8ED73C

Accessibility & contrast

On white

4.79
#4F7F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4F7F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7F1A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7F1A#FFFFFF#000000##FFFFFF
##4F7F1A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#507A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7f1a;
/* rgb */ color: rgb(79, 127, 26);
/* oklch */ color: oklch(54.2% 0.138 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a45f',
    500: '#4f7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #4f7f1a;
$custom-light: #85a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7f1a",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 88.515,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.13811,
    "h": 132.3
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#4F7F1A
secondary
#7842B3
accent
#3FE990
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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