#4F9B1F#4F9B1F

#4F9B1F is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.171 H 136.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4F9B1F
RGBrgb(79, 155, 31)
HSLhsl(97, 67%, 36%)
HSVhsv(97, 80%, 61%)
CMYKcmyk(49%, 0%, 80%, 39.2%)
CIE-LABlab(57.27, -44.48, 53.03)
CIE-LCHlch(57.27, 69.21, 129.99°)
OKLaboklab(61.69% -0.1238 0.1176)
OKLCHoklch(61.69% 0.171 136.5)
XYZxyz(15.1927, 25.2029, 5.3601)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9B1F #6B1F9B
analogous
#8D9B1F #4F9B1F #1F9B2D
triadic
#4F9B1F #1F4F9B #9B1F4F
tetradic
#4F9B1F #1F8D9B #6B1F9B #9B2D1F
square
#4F9B1F #1F8D9B #6B1F9B #9B2D1F
split-complementary
#4F9B1F #2D1F9B #9B1F8D
monochromatic
#1B350B #356815 #4F9B1F #69CE29 #8BDD57

Accessibility & contrast

On white

3.48
#4F9B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#4F9B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9B1F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9B1F#FFFFFF#000000##000000
##4F9B1F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#4B9584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4f9b1f;
/* rgb */ color: rgb(79, 155, 31);
/* oklch */ color: oklch(61.7% 0.171 136.5);
Tailwind
colors: {
  custom: {
    50: '#88b966',
    500: '#4f9b1f',
    950: '#000000',
  },
}
SCSS
$custom: #4f9b1f;
$custom-light: #88b966;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9b1f",
  "rgb": {
    "r": 79,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 96.774,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.17079,
    "h": 136.5
  },
  "luminance": 0.25204
}

Semantic roles & 50–950 ramp

primary
#4F9B1F
secondary
#9755C1
accent
#3EEAA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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