#4F901F#4F901F

#4F901F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.157 H 135.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4F901F
RGBrgb(79, 144, 31)
HSLhsl(95, 65%, 34%)
HSVhsv(95, 78%, 56%)
CMYKcmyk(45.1%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.71, -39.97, 49.66)
CIE-LCHlch(53.71, 63.75, 128.83°)
OKLaboklab(58.77% -0.1117 0.1106)
OKLCHoklch(58.77% 0.157 135.3)
XYZxyz(13.4447, 21.7069, 4.7775)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F901F #601F90
analogous
#88901F #4F901F #1F9028
triadic
#4F901F #1F4F90 #901F4F
tetradic
#4F901F #1F8890 #601F90 #90281F
square
#4F901F #1F8890 #601F90 #90281F
split-complementary
#4F901F #281F90 #901F88
monochromatic
#182B09 #335E14 #4F901F #6BC22A #8AD950

Accessibility & contrast

On white

3.93
#4F901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4F901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F901F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F901F#FFFFFF#000000##000000
##4F901F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f901f;
/* rgb */ color: rgb(79, 144, 31);
/* oklch */ color: oklch(58.8% 0.157 135.3);
Tailwind
colors: {
  custom: {
    50: '#87b164',
    500: '#4f901f',
    950: '#000000',
  },
}
SCSS
$custom: #4f901f;
$custom-light: #87b164;
$custom-dark: #000000;
JSON
{
  "hex": "#4f901f",
  "rgb": {
    "r": 79,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 94.513,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.15718,
    "h": 135.3
  },
  "luminance": 0.21708
}

Semantic roles & 50–950 ramp

primary
#4F901F
secondary
#8E4EBC
accent
#40E8A0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F901F

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

Preview Lab → · Contrast checker → · Palette generator →

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