#4F7114#4F7114

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

Color values

HEX#4F7114
RGBrgb(79, 113, 20)
HSLhsl(82, 70%, 26%)
HSVhsv(82, 82%, 44%)
CMYKcmyk(30.1%, 0%, 82.3%, 55.7%)
CIE-LABlab(43.54, -26.61, 43.73)
CIE-LCHlch(43.54, 51.19, 121.31°)
OKLaboklab(50.43% -0.0764 0.0964)
OKLCHoklch(50.43% 0.123 128.4)
XYZxyz(9.2558, 13.5228, 2.7842)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7114 #361471
analogous
#716414 #4F7114 #217114
triadic
#4F7114 #144F71 #71144F
tetradic
#4F7114 #147164 #361471 #711421
square
#4F7114 #147164 #361471 #711421
split-complementary
#4F7114 #142171 #641471
monochromatic
#121A05 #2B3D0B #4F7114 #73A51D #98D927

Accessibility & contrast

On white

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

On black

3.70
#4F7114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F7114#FFFFFF#000000##FFFFFF
##4F71141.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7114;
/* rgb */ color: rgb(79, 113, 20);
/* oklch */ color: oklch(50.4% 0.123 128.4);
Tailwind
colors: {
  custom: {
    50: '#849a5b',
    500: '#4f7114',
    950: '#000000',
  },
}
SCSS
$custom: #4f7114;
$custom-light: #849a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7114",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 81.935,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.12296,
    "h": 128.4
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#4F7114
secondary
#6239A7
accent
#3BED7C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7114

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

Preview Lab → · Contrast checker → · Palette generator →

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