#4F7E2D#4F7E2D

#4F7E2D is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.123 H 134.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4F7E2D
RGBrgb(79, 126, 45)
HSLhsl(95, 47%, 34%)
HSVhsv(95, 64%, 49%)
CMYKcmyk(37.3%, 0%, 64.3%, 50.6%)
CIE-LABlab(47.97, -30.92, 38.05)
CIE-LCHlch(47.97, 49.03, 129.09°)
OKLaboklab(54.1% -0.0861 0.0882)
OKLCHoklch(54.1% 0.123 134.3)
XYZxyz(11.1587, 16.7729, 5.1317)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E2D #5C2D7E
analogous
#777E2D #4F7E2D #2D7E33
triadic
#4F7E2D #2D4F7E #7E2D4F
tetradic
#4F7E2D #2D777E #5C2D7E #7E332D
square
#4F7E2D #2D777E #5C2D7E #7E332D
split-complementary
#4F7E2D #332D7E #7E2D77
monochromatic
#16240D #33511D #4F7E2D #6BAB3D #8AC65F

Accessibility & contrast

On white

4.82
#4F7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4F7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7E2D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7E2D#FFFFFF#000000##FFFFFF
##4F7E2D1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837424
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#4F796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7e2d;
/* rgb */ color: rgb(79, 126, 45);
/* oklch */ color: oklch(54.1% 0.123 134.3);
Tailwind
colors: {
  custom: {
    50: '#84a469',
    500: '#4f7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e2d;
$custom-light: #84a469;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e2d",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 94.815,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.12322,
    "h": 134.3
  },
  "luminance": 0.16773
}

Semantic roles & 50–950 ramp

primary
#4F7E2D
secondary
#8A5AAC
accent
#51D79F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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