#4F7D1B#4F7D1B

#4F7D1B 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.90:1 contrast (WCAG AA passes).

Color values

HEX#4F7D1B
RGBrgb(79, 125, 27)
HSLhsl(88, 64%, 30%)
HSVhsv(88, 78%, 49%)
CMYKcmyk(36.8%, 0%, 78.4%, 51%)
CIE-LABlab(47.51, -31.89, 45.08)
CIE-LCHlch(47.51, 55.22, 125.27°)
OKLaboklab(53.68% -0.0902 0.1004)
OKLCHoklch(53.68% 0.135 131.9)
XYZxyz(10.7558, 16.4082, 3.6371)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D1B #491B7D
analogous
#7D7A1B #4F7D1B #1E7D1B
triadic
#4F7D1B #1B4F7D #7D1B4F
tetradic
#4F7D1B #1B7D7A #491B7D #7D1B1E
square
#4F7D1B #1B7D7A #491B7D #7D1B1E
split-complementary
#4F7D1B #1B1E7D #7A1B7D
monochromatic
#101905 #2F4B10 #4F7D1B #6FAF26 #8ED53D

Accessibility & contrast

On white

4.90
#4F7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F7D1B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D1B#FFFFFF#000000##FFFFFF
##4F7D1B1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7d1b;
/* rgb */ color: rgb(79, 125, 27);
/* oklch */ color: oklch(53.7% 0.135 131.9);
Tailwind
colors: {
  custom: {
    50: '#85a35f',
    500: '#4f7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d1b;
$custom-light: #85a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d1b",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 88.163,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.13491,
    "h": 131.9
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#4F7D1B
secondary
#7743B1
accent
#40E78F
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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