#4F7E15#4F7E15

#4F7E15 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.139 H 131.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4F7E15
RGBrgb(79, 126, 21)
HSLhsl(87, 71%, 29%)
HSVhsv(87, 83%, 49%)
CMYKcmyk(37.3%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.80, -32.67, 47.33)
CIE-LCHlch(47.80, 57.51, 124.62°)
OKLaboklab(53.91% -0.0927 0.1041)
OKLCHoklch(53.91% 0.139 131.7)
XYZxyz(10.8206, 16.6377, 3.3506)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E15 #44157E
analogous
#7E7915 #4F7E15 #1B7E15
triadic
#4F7E15 #154F7E #7E154F
tetradic
#4F7E15 #157E79 #44157E #7E151B
square
#4F7E15 #157E79 #44157E #7E151B
split-complementary
#4F7E15 #151B7E #79157E
monochromatic
#101A04 #2E4A0C #4F7E15 #70B21E #90DD31

Accessibility & contrast

On white

4.85
#4F7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F7E15
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7E15#FFFFFF#000000##FFFFFF
##4F7E151.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7e15;
/* rgb */ color: rgb(79, 126, 21);
/* oklch */ color: oklch(53.9% 0.139 131.7);
Tailwind
colors: {
  custom: {
    50: '#85a35d',
    500: '#4f7e15',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e15;
$custom-light: #85a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e15",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 86.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.13939,
    "h": 131.7
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#4F7E15
secondary
#713CB3
accent
#3AEE8A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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