#4F7A1B#4F7A1B

#4F7A1B is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.131 H 131.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4F7A1B
RGBrgb(79, 122, 27)
HSLhsl(87, 64%, 29%)
HSVhsv(87, 78%, 48%)
CMYKcmyk(35.2%, 0%, 77.9%, 52.2%)
CIE-LABlab(46.53, -30.50, 44.14)
CIE-LCHlch(46.53, 53.65, 124.64°)
OKLaboklab(52.88% -0.0864 0.0984)
OKLCHoklch(52.88% 0.131 131.3)
XYZxyz(10.3817, 15.6601, 3.5124)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7A1B #461B7A
analogous
#7A761B #4F7A1B #207A1B
triadic
#4F7A1B #1B4F7A #7A1B4F
tetradic
#4F7A1B #1B7A76 #461B7A #7A1B20
square
#4F7A1B #1B7A76 #461B7A #7A1B20
split-complementary
#4F7A1B #1B207A #761B7A
monochromatic
#101906 #2F4810 #4F7A1B #6FAC26 #8FD43C

Accessibility & contrast

On white

5.08
#4F7A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4F7A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7A1B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7A1B#FFFFFF#000000##FFFFFF
##4F7A1B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807006
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#517568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f7a1b;
/* rgb */ color: rgb(79, 122, 27);
/* oklch */ color: oklch(52.9% 0.131 131.3);
Tailwind
colors: {
  custom: {
    50: '#84a05f',
    500: '#4f7a1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f7a1b;
$custom-light: #84a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7a1b",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 87.158,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52875,
    "c": 0.13093,
    "h": 131.3
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#4F7A1B
secondary
#7343AE
accent
#41E78C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4F7A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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