#4F951C#4F951C

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

Color values

HEX#4F951C
RGBrgb(79, 149, 28)
HSLhsl(95, 68%, 35%)
HSVhsv(95, 81%, 58%)
CMYKcmyk(47%, 0%, 81.2%, 41.6%)
CIE-LABlab(55.32, -42.22, 52.13)
CIE-LCHlch(55.32, 67.08, 129.00°)
OKLaboklab(60.08% -0.1179 0.1153)
OKLCHoklch(60.08% 0.165 135.6)
XYZxyz(14.1811, 23.2401, 4.8369)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F951C #621C95
analogous
#8C951C #4F951C #1C9526
triadic
#4F951C #1C4F95 #951C4F
tetradic
#4F951C #1C8C95 #621C95 #95261C
square
#4F951C #1C8C95 #621C95 #95261C
split-complementary
#4F951C #261C95 #951C8C
monochromatic
#182E09 #346112 #4F951C #6AC926 #8ADE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F951C#FFFFFF#000000##000000
##4F951C1.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)
#91822A
Tritanopia (blue-blind)
#4C8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f951c;
/* rgb */ color: rgb(79, 149, 28);
/* oklch */ color: oklch(60.1% 0.165 135.6);
Tailwind
colors: {
  custom: {
    50: '#87b563',
    500: '#4f951c',
    950: '#000000',
  },
}
SCSS
$custom: #4f951c;
$custom-light: #87b563;
$custom-dark: #000000;
JSON
{
  "hex": "#4f951c",
  "rgb": {
    "r": 79,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 94.711,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.16492,
    "h": 135.6
  },
  "luminance": 0.23241
}

Semantic roles & 50–950 ramp

primary
#4F951C
secondary
#8F4DC0
accent
#3DEBA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F951C

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

Preview Lab → · Contrast checker → · Palette generator →

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