#4F8129#4F8129

#4F8129 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.131 H 134.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4F8129
RGBrgb(79, 129, 41)
HSLhsl(94, 52%, 33%)
HSVhsv(94, 68%, 51%)
CMYKcmyk(38.8%, 0%, 68.2%, 49.4%)
CIE-LABlab(48.91, -32.67, 40.90)
CIE-LCHlch(48.91, 52.35, 128.62°)
OKLaboklab(54.86% -0.0912 0.0937)
OKLCHoklch(54.86% 0.131 134.2)
XYZxyz(11.4747, 17.5223, 4.8749)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8129 #5B2981
analogous
#7B8129 #4F8129 #29812F
triadic
#4F8129 #294F81 #81294F
tetradic
#4F8129 #297B81 #5B2981 #812F29
square
#4F8129 #297B81 #5B2981 #812F29
split-complementary
#4F8129 #2F2981 #81297B
monochromatic
#16240B #33531A #4F8129 #6BAF38 #8BCB5A

Accessibility & contrast

On white

4.66
#4F8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4F8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8129
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8129#FFFFFF#000000##FFFFFF
##4F81291.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#4F7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f8129;
/* rgb */ color: rgb(79, 129, 41);
/* oklch */ color: oklch(54.9% 0.131 134.2);
Tailwind
colors: {
  custom: {
    50: '#84a667',
    500: '#4f8129',
    950: '#000000',
  },
}
SCSS
$custom: #4f8129;
$custom-light: #84a667;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8129",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 94.091,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.13075,
    "h": 134.2
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

primary
#4F8129
secondary
#8956B0
accent
#4DDB9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8129

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

Preview Lab → · Contrast checker → · Palette generator →

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