#4F7D1A#4F7D1A

#4F7D1A is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.135 H 131.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F7D1A
RGBrgb(79, 125, 26)
HSLhsl(88, 66%, 30%)
HSVhsv(88, 79%, 49%)
CMYKcmyk(36.8%, 0%, 79.2%, 51%)
CIE-LABlab(47.50, -31.95, 45.43)
CIE-LCHlch(47.50, 55.53, 125.12°)
OKLaboklab(53.67% -0.0904 0.1009)
OKLCHoklch(53.67% 0.135 131.9)
XYZxyz(10.7444, 16.4036, 3.5772)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D1A #481A7D
analogous
#7D7A1A #4F7D1A #1D7D1A
triadic
#4F7D1A #1A4F7D #7D1A4F
tetradic
#4F7D1A #1A7D7A #481A7D #7D1A1D
square
#4F7D1A #1A7D7A #481A7D #7D1A1D
split-complementary
#4F7D1A #1A1D7D #7A1A7D
monochromatic
#101905 #2F4A0F #4F7D1A #6FB025 #8ED63B

Accessibility & contrast

On white

4.91
#4F7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4F7D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D1A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D1A#FFFFFF#000000##FFFFFF
##4F7D1A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#50786A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d1a;
/* rgb */ color: rgb(79, 125, 26);
/* oklch */ color: oklch(53.7% 0.135 131.9);
Tailwind
colors: {
  custom: {
    50: '#85a35f',
    500: '#4f7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d1a;
$custom-light: #85a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d1a",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 87.879,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.13549,
    "h": 131.9
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#4F7D1A
secondary
#7542B1
accent
#3FE98E
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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