#4F901B#4F901B

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

Color values

HEX#4F901B
RGBrgb(79, 144, 27)
HSLhsl(93, 68%, 34%)
HSVhsv(93, 81%, 56%)
CMYKcmyk(45.1%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.69, -40.20, 50.93)
CIE-LCHlch(53.69, 64.88, 128.29°)
OKLaboklab(58.74% -0.1126 0.1126)
OKLCHoklch(58.74% 0.159 135)
XYZxyz(13.3952, 21.6871, 4.5169)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F901B #5C1B90
analogous
#89901B #4F901B #1B9021
triadic
#4F901B #1B4F90 #901B4F
tetradic
#4F901B #1B8990 #5C1B90 #90211B
square
#4F901B #1B8990 #5C1B90 #90211B
split-complementary
#4F901B #211B90 #901B89
monochromatic
#162908 #335C11 #4F901B #6BC425 #8ADD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F901B#FFFFFF#000000##000000
##4F901B1.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)
#968400
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f901b;
/* rgb */ color: rgb(79, 144, 27);
/* oklch */ color: oklch(58.7% 0.159 135.0);
Tailwind
colors: {
  custom: {
    50: '#87b162',
    500: '#4f901b',
    950: '#000000',
  },
}
SCSS
$custom: #4f901b;
$custom-light: #87b162;
$custom-dark: #000000;
JSON
{
  "hex": "#4f901b",
  "rgb": {
    "r": 79,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 93.333,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.15924,
    "h": 135
  },
  "luminance": 0.21688
}

Semantic roles & 50–950 ramp

primary
#4F901B
secondary
#8A48BF
accent
#3DEB9E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F901B

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

Preview Lab → · Contrast checker → · Palette generator →

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