#4F7115#4F7115

#4F7115 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.122 H 128.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4F7115
RGBrgb(79, 113, 21)
HSLhsl(82, 69%, 26%)
HSVhsv(82, 81%, 44%)
CMYKcmyk(30.1%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.55, -26.55, 43.41)
CIE-LCHlch(43.55, 50.89, 121.45°)
OKLaboklab(50.44% -0.0762 0.0958)
OKLCHoklch(50.44% 0.122 128.5)
XYZxyz(9.2649, 13.5264, 2.8320)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7115 #371571
analogous
#716515 #4F7115 #217115
triadic
#4F7115 #154F71 #71154F
tetradic
#4F7115 #157165 #371571 #711521
square
#4F7115 #157165 #371571 #711521
split-complementary
#4F7115 #152171 #651571
monochromatic
#121A05 #2B3D0B #4F7115 #73A51F #97D729

Accessibility & contrast

On white

5.67
#4F7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7115
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7115#FFFFFF#000000##FFFFFF
##4F71151.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#526C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f7115;
/* rgb */ color: rgb(79, 113, 21);
/* oklch */ color: oklch(50.4% 0.122 128.5);
Tailwind
colors: {
  custom: {
    50: '#849a5b',
    500: '#4f7115',
    950: '#000000',
  },
}
SCSS
$custom: #4f7115;
$custom-light: #849a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7115",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 82.174,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.12242,
    "h": 128.5
  },
  "luminance": 0.13527
}

Semantic roles & 50–950 ramp

primary
#4F7115
secondary
#633BA7
accent
#3CEB7D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7115

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

Preview Lab → · Contrast checker → · Palette generator →

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