#4F8121#4F8121

#4F8121 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.137 H 133.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4F8121
RGBrgb(79, 129, 33)
HSLhsl(91, 59%, 32%)
HSVhsv(91, 74%, 51%)
CMYKcmyk(38.8%, 0%, 74.4%, 49.4%)
CIE-LABlab(48.85, -33.31, 44.16)
CIE-LCHlch(48.85, 55.32, 127.03°)
OKLaboklab(54.79% -0.0936 0.0994)
OKLCHoklch(54.79% 0.137 133.3)
XYZxyz(11.3490, 17.4721, 4.2130)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8121 #532181
analogous
#7F8121 #4F8121 #218123
triadic
#4F8121 #214F81 #81214F
tetradic
#4F8121 #217F81 #532181 #812321
square
#4F8121 #217F81 #532181 #812321
split-complementary
#4F8121 #232181 #81217F
monochromatic
#132008 #315015 #4F8121 #6DB22D #8BD14B

Accessibility & contrast

On white

4.67
#4F8121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4F8121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8121
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8121#FFFFFF#000000##FFFFFF
##4F81211.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867710
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#4F7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f8121;
/* rgb */ color: rgb(79, 129, 33);
/* oklch */ color: oklch(54.8% 0.137 133.3);
Tailwind
colors: {
  custom: {
    50: '#85a663',
    500: '#4f8121',
    950: '#000000',
  },
}
SCSS
$custom: #4f8121;
$custom-light: #85a663;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8121",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 91.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.13651,
    "h": 133.3
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#4F8121
secondary
#814AB4
accent
#45E297
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8121

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

Preview Lab → · Contrast checker → · Palette generator →

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