#4F951F#4F951F

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

Color values

HEX#4F951F
RGBrgb(79, 149, 31)
HSLhsl(96, 66%, 35%)
HSVhsv(96, 79%, 58%)
CMYKcmyk(47%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.33, -42.05, 51.20)
CIE-LCHlch(55.33, 66.25, 129.39°)
OKLaboklab(60.1% -0.1173 0.1138)
OKLCHoklch(60.1% 0.163 135.9)
XYZxyz(14.2189, 23.2552, 5.0355)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F951F #651F95
analogous
#8A951F #4F951F #1F952A
triadic
#4F951F #1F4F95 #951F4F
tetradic
#4F951F #1F8A95 #651F95 #952A1F
square
#4F951F #1F8A95 #651F95 #952A1F
split-complementary
#4F951F #2A1F95 #951F8A
monochromatic
#19300A #346214 #4F951F #6AC82A #8BDB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F951F#FFFFFF#000000##000000
##4F951F1.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)
#9A8800
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#4C8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f951f;
/* rgb */ color: rgb(79, 149, 31);
/* oklch */ color: oklch(60.1% 0.163 135.9);
Tailwind
colors: {
  custom: {
    50: '#87b565',
    500: '#4f951f',
    950: '#000000',
  },
}
SCSS
$custom: #4f951f;
$custom-light: #87b565;
$custom-dark: #000000;
JSON
{
  "hex": "#4f951f",
  "rgb": {
    "r": 79,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 95.593,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60095,
    "c": 0.16343,
    "h": 135.9
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#4F951F
secondary
#9251BF
accent
#3FE9A4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F951F

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

Preview Lab → · Contrast checker → · Palette generator →

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