#4F7E1D#4F7E1D

#4F7E1D is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.135 H 132.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4F7E1D
RGBrgb(79, 126, 29)
HSLhsl(89, 63%, 30%)
HSVhsv(89, 77%, 49%)
CMYKcmyk(37.3%, 0%, 77%, 50.6%)
CIE-LABlab(47.84, -32.22, 44.69)
CIE-LCHlch(47.84, 55.09, 125.79°)
OKLaboklab(53.96% -0.0909 0.0999)
OKLCHoklch(53.96% 0.135 132.3)
XYZxyz(10.9069, 16.6722, 3.8055)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E1D #4C1D7E
analogous
#7E7C1D #4F7E1D #1E7E1D
triadic
#4F7E1D #1D4F7E #7E1D4F
tetradic
#4F7E1D #1D7E7C #4C1D7E #7E1D1E
square
#4F7E1D #1D7E7C #4C1D7E #7E1D1E
split-complementary
#4F7E1D #1D1E7E #7C1D7E
monochromatic
#111B06 #304C12 #4F7E1D #6EB028 #8DD342

Accessibility & contrast

On white

4.84
#4F7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4F7E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7E1D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7E1D#FFFFFF#000000##FFFFFF
##4F7E1D1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847409
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#50796B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7e1d;
/* rgb */ color: rgb(79, 126, 29);
/* oklch */ color: oklch(54.0% 0.135 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a361',
    500: '#4f7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e1d;
$custom-light: #85a361;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e1d",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 89.072,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.13504,
    "h": 132.3
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#4F7E1D
secondary
#7A45B1
accent
#42E691
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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