#4F812A#4F812A

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

Color values

HEX#4F812A
RGBrgb(79, 129, 42)
HSLhsl(94, 51%, 34%)
HSVhsv(94, 67%, 51%)
CMYKcmyk(38.8%, 0%, 67.4%, 49.4%)
CIE-LABlab(48.92, -32.58, 40.46)
CIE-LCHlch(48.92, 51.95, 128.84°)
OKLaboklab(54.87% -0.0909 0.0929)
OKLCHoklch(54.87% 0.13 134.4)
XYZxyz(11.4924, 17.5294, 4.9680)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F812A #5C2A81
analogous
#7A812A #4F812A #2A8130
triadic
#4F812A #2A4F81 #812A4F
tetradic
#4F812A #2A7A81 #5C2A81 #81302A
square
#4F812A #2A7A81 #5C2A81 #81302A
split-complementary
#4F812A #302A81 #812A7A
monochromatic
#16250C #33531B #4F812A #6BAF39 #8ACA5C

Accessibility & contrast

On white

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

On black

4.51
#4F812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F812A#FFFFFF#000000##FFFFFF
##4F812A1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#4E7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f812a;
/* rgb */ color: rgb(79, 129, 42);
/* oklch */ color: oklch(54.9% 0.130 134.4);
Tailwind
colors: {
  custom: {
    50: '#84a668',
    500: '#4f812a',
    950: '#000000',
  },
}
SCSS
$custom: #4f812a;
$custom-light: #84a668;
$custom-dark: #000000;
JSON
{
  "hex": "#4f812a",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 94.483,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.12995,
    "h": 134.4
  },
  "luminance": 0.1753
}

Semantic roles & 50–950 ramp

primary
#4F812A
secondary
#8A57AF
accent
#4DDA9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F812A

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

Preview Lab → · Contrast checker → · Palette generator →

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