#4F9A1F#4F9A1F

#4F9A1F is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.4% C 0.170 H 136.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4F9A1F
RGBrgb(79, 154, 31)
HSLhsl(97, 66%, 36%)
HSVhsv(97, 80%, 60%)
CMYKcmyk(48.7%, 0%, 79.9%, 39.6%)
CIE-LABlab(56.95, -44.08, 52.73)
CIE-LCHlch(56.95, 68.72, 129.89°)
OKLaboklab(61.42% -0.1227 0.117)
OKLCHoklch(61.42% 0.17 136.4)
XYZxyz(15.0270, 24.8714, 5.3049)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9A1F #6A1F9A
analogous
#8D9A1F #4F9A1F #1F9A2D
triadic
#4F9A1F #1F4F9A #9A1F4F
tetradic
#4F9A1F #1F8D9A #6A1F9A #9A2D1F
square
#4F9A1F #1F8D9A #6A1F9A #9A2D1F
split-complementary
#4F9A1F #2D1F9A #9A1F8D
monochromatic
#1B340A #356715 #4F9A1F #69CD29 #8BDD56

Accessibility & contrast

On white

3.51
#4F9A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#4F9A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9A1F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9A1F#FFFFFF#000000##000000
##4F9A1F1.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96862D
Tritanopia (blue-blind)
#4B9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4f9a1f;
/* rgb */ color: rgb(79, 154, 31);
/* oklch */ color: oklch(61.4% 0.170 136.4);
Tailwind
colors: {
  custom: {
    50: '#88b865',
    500: '#4f9a1f',
    950: '#000000',
  },
}
SCSS
$custom: #4f9a1f;
$custom-light: #88b865;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9a1f",
  "rgb": {
    "r": 79,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 96.585,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.16958,
    "h": 136.4
  },
  "luminance": 0.24872
}

Semantic roles & 50–950 ramp

primary
#4F9A1F
secondary
#9654C1
accent
#3EE9A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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