#4F8114#4F8114

#4F8114 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.144 H 132.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4F8114
RGBrgb(79, 129, 20)
HSLhsl(88, 73%, 29%)
HSVhsv(88, 84%, 51%)
CMYKcmyk(38.8%, 0%, 84.5%, 49.4%)
CIE-LABlab(48.78, -34.07, 48.50)
CIE-LCHlch(48.78, 59.27, 125.09°)
OKLaboklab(54.7% -0.0965 0.1064)
OKLCHoklch(54.7% 0.144 132.2)
XYZxyz(11.2008, 17.4128, 3.4325)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8114 #461481
analogous
#817D14 #4F8114 #198114
triadic
#4F8114 #144F81 #81144F
tetradic
#4F8114 #14817D #461481 #811419
square
#4F8114 #14817D #461481 #811419
split-complementary
#4F8114 #141981 #7D1481
monochromatic
#101A04 #2F4C0C #4F8114 #6FB61C #8FDF30

Accessibility & contrast

On white

4.68
#4F8114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4F8114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8114
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8114#FFFFFF#000000##FFFFFF
##4F81141.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#507B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f8114;
/* rgb */ color: rgb(79, 129, 20);
/* oklch */ color: oklch(54.7% 0.144 132.2);
Tailwind
colors: {
  custom: {
    50: '#85a65d',
    500: '#4f8114',
    950: '#000000',
  },
}
SCSS
$custom: #4f8114;
$custom-light: #85a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8114",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 87.523,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.14368,
    "h": 132.2
  },
  "luminance": 0.17413
}

Semantic roles & 50–950 ramp

primary
#4F8114
secondary
#733BB6
accent
#38F08C
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #4F8114

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

Preview Lab → · Contrast checker → · Palette generator →

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