#4F9F1F#4F9F1F

#4F9F1F is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.7% C 0.176 H 136.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4F9F1F
RGBrgb(79, 159, 31)
HSLhsl(98, 67%, 37%)
HSVhsv(98, 81%, 62%)
CMYKcmyk(50.3%, 0%, 80.5%, 37.6%)
CIE-LABlab(58.56, -46.06, 54.24)
CIE-LCHlch(58.56, 71.16, 130.34°)
OKLaboklab(62.75% -0.1281 0.1202)
OKLCHoklch(62.75% 0.176 136.8)
XYZxyz(15.8694, 26.5563, 5.5857)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9F1F #6F1F9F
analogous
#8F9F1F #4F9F1F #1F9F2F
triadic
#4F9F1F #1F4F9F #9F1F4F
tetradic
#4F9F1F #1F8F9F #6F1F9F #9F2F1F
square
#4F9F1F #1F8F9F #6F1F9F #9F2F1F
split-complementary
#4F9F1F #2F1F9F #9F1F8F
monochromatic
#1C390B #366C15 #4F9F1F #68D229 #8CDF5A

Accessibility & contrast

On white

3.33
#4F9F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#4F9F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9F1F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9F1F#FFFFFF#000000##000000
##4F9F1F1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#4A9987
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4f9f1f;
/* rgb */ color: rgb(79, 159, 31);
/* oklch */ color: oklch(62.7% 0.176 136.8);
Tailwind
colors: {
  custom: {
    50: '#89bc66',
    500: '#4f9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4f9f1f;
$custom-light: #89bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9f1f",
  "rgb": {
    "r": 79,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 97.5,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.17563,
    "h": 136.8
  },
  "luminance": 0.26557
}

Semantic roles & 50–950 ramp

primary
#4F9F1F
secondary
#9A57C3
accent
#3EEAA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4F9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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