#4F7C2A#4F7C2A

#4F7C2A is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.123 H 133.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F7C2A
RGBrgb(79, 124, 42)
HSLhsl(93, 49%, 33%)
HSVhsv(93, 66%, 49%)
CMYKcmyk(36.3%, 0%, 66.1%, 51.4%)
CIE-LABlab(47.29, -30.27, 38.70)
CIE-LCHlch(47.29, 49.13, 128.03°)
OKLaboklab(53.54% -0.0845 0.0892)
OKLCHoklch(53.54% 0.123 133.5)
XYZxyz(10.8498, 16.2443, 4.7538)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C2A #572A7C
analogous
#787C2A #4F7C2A #2A7C2E
triadic
#4F7C2A #2A4F7C #7C2A4F
tetradic
#4F7C2A #2A787C #572A7C #7C2E2A
square
#4F7C2A #2A787C #572A7C #7C2E2A
split-complementary
#4F7C2A #2E2A7C #7C2A78
monochromatic
#15210B #324E1B #4F7C2A #6CAA39 #8BC759

Accessibility & contrast

On white

4.94
#4F7C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4F7C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7C2A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7C2A#FFFFFF#000000##FFFFFF
##4F7C2A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817220
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#4F776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c2a;
/* rgb */ color: rgb(79, 124, 42);
/* oklch */ color: oklch(53.5% 0.123 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a267',
    500: '#4f7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c2a;
$custom-light: #84a267;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c2a",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 92.927,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.12289,
    "h": 133.5
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#4F7C2A
secondary
#8555AD
accent
#4FD99B
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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