#4F951A#4F951A

#4F951A is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.1% C 0.166 H 135.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4F951A
RGBrgb(79, 149, 26)
HSLhsl(94, 70%, 34%)
HSVhsv(94, 83%, 58%)
CMYKcmyk(47%, 0%, 82.6%, 41.6%)
CIE-LABlab(55.31, -42.32, 52.71)
CIE-LCHlch(55.31, 67.60, 128.76°)
OKLaboklab(60.07% -0.1183 0.1162)
OKLCHoklch(60.07% 0.166 135.5)
XYZxyz(14.1580, 23.2308, 4.7151)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F951A #601A95
analogous
#8D951A #4F951A #1A9522
triadic
#4F951A #1A4F95 #951A4F
tetradic
#4F951A #1A8D95 #601A95 #95221A
square
#4F951A #1A8D95 #601A95 #95221A
split-complementary
#4F951A #221A95 #951A8D
monochromatic
#182D08 #336111 #4F951A #6BC923 #8ADF4A

Accessibility & contrast

On white

3.72
#4F951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#4F951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F951A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F951A#FFFFFF#000000##000000
##4F951A1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#4D8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f951a;
/* rgb */ color: rgb(79, 149, 26);
/* oklch */ color: oklch(60.1% 0.166 135.5);
Tailwind
colors: {
  custom: {
    50: '#87b563',
    500: '#4f951a',
    950: '#000000',
  },
}
SCSS
$custom: #4f951a;
$custom-light: #87b563;
$custom-dark: #000000;
JSON
{
  "hex": "#4f951a",
  "rgb": {
    "r": 79,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 94.146,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60067,
    "c": 0.16585,
    "h": 135.5
  },
  "luminance": 0.23232
}

Semantic roles & 50–950 ramp

primary
#4F951A
secondary
#8E4AC1
accent
#3BEDA0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F951A

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

Preview Lab → · Contrast checker → · Palette generator →

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