#4F8A30#4F8A30

#4F8A30 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.138 H 136.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4F8A30
RGBrgb(79, 138, 48)
HSLhsl(99, 48%, 36%)
HSVhsv(99, 65%, 54%)
CMYKcmyk(42.8%, 0%, 65.2%, 45.9%)
CIE-LABlab(51.90, -36.06, 41.00)
CIE-LCHlch(51.90, 54.60, 131.33°)
OKLaboklab(57.32% -0.0999 0.0948)
OKLCHoklch(57.32% 0.138 136.5)
XYZxyz(12.8461, 20.0519, 5.9893)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A30 #6B308A
analogous
#7C8A30 #4F8A30 #308A3E
triadic
#4F8A30 #304F8A #8A304F
tetradic
#4F8A30 #307C8A #6B308A #8A3E30
square
#4F8A30 #307C8A #6B308A #8A3E30
split-complementary
#4F8A30 #3E308A #8A307C
monochromatic
#1B2F10 #355D20 #4F8A30 #69B740 #8BCB69

Accessibility & contrast

On white

4.19
#4F8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4F8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A30
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A30#FFFFFF#000000##000000
##4F8A301.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F25
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#4D8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a30;
/* rgb */ color: rgb(79, 138, 48);
/* oklch */ color: oklch(57.3% 0.138 136.5);
Tailwind
colors: {
  custom: {
    50: '#85ac6c',
    500: '#4f8a30',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a30;
$custom-light: #85ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a30",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 99.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.13769,
    "h": 136.5
  },
  "luminance": 0.20053
}

Semantic roles & 50–950 ramp

primary
#4F8A30
secondary
#9764B2
accent
#50D8A9
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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