#4F9C1F#4F9C1F

#4F9C1F is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.0% C 0.172 H 136.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4F9C1F
RGBrgb(79, 156, 31)
HSLhsl(97, 67%, 37%)
HSVhsv(97, 80%, 61%)
CMYKcmyk(49.4%, 0%, 80.1%, 38.8%)
CIE-LABlab(57.59, -44.88, 53.34)
CIE-LCHlch(57.59, 69.70, 130.08°)
OKLaboklab(61.95% -0.1249 0.1183)
OKLCHoklch(61.95% 0.172 136.6)
XYZxyz(15.3598, 25.5371, 5.4158)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9C1F #6C1F9C
analogous
#8E9C1F #4F9C1F #1F9C2E
triadic
#4F9C1F #1F4F9C #9C1F4F
tetradic
#4F9C1F #1F8E9C #6C1F9C #9C2E1F
square
#4F9C1F #1F8E9C #6C1F9C #9C2E1F
split-complementary
#4F9C1F #2E1F9C #9C1F8E
monochromatic
#1B360B #356915 #4F9C1F #69CF29 #8BDE58

Accessibility & contrast

On white

3.44
#4F9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#4F9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9C1F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9C1F#FFFFFF#000000##000000
##4F9C1F1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#4B9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4f9c1f;
/* rgb */ color: rgb(79, 156, 31);
/* oklch */ color: oklch(62.0% 0.172 136.6);
Tailwind
colors: {
  custom: {
    50: '#88ba66',
    500: '#4f9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4f9c1f;
$custom-light: #88ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9c1f",
  "rgb": {
    "r": 79,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 96.96,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.17201,
    "h": 136.6
  },
  "luminance": 0.25538
}

Semantic roles & 50–950 ramp

primary
#4F9C1F
secondary
#9855C1
accent
#3EEAA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4F9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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