#4F951B#4F951B

#4F951B 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#4F951B
RGBrgb(79, 149, 27)
HSLhsl(94, 69%, 35%)
HSVhsv(94, 82%, 58%)
CMYKcmyk(47%, 0%, 81.9%, 41.6%)
CIE-LABlab(55.31, -42.27, 52.43)
CIE-LCHlch(55.31, 67.34, 128.88°)
OKLaboklab(60.07% -0.1181 0.1158)
OKLCHoklch(60.07% 0.165 135.6)
XYZxyz(14.1694, 23.2354, 4.7750)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F951B #611B95
analogous
#8C951B #4F951B #1B9524
triadic
#4F951B #1B4F95 #951B4F
tetradic
#4F951B #1B8C95 #611B95 #95241B
square
#4F951B #1B8C95 #611B95 #95241B
split-complementary
#4F951B #241B95 #951B8C
monochromatic
#182D08 #346112 #4F951B #6AC924 #8ADF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F951B#FFFFFF#000000##000000
##4F951B1.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)
#4C8F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f951b;
/* rgb */ color: rgb(79, 149, 27);
/* oklch */ color: oklch(60.1% 0.165 135.6);
Tailwind
colors: {
  custom: {
    50: '#87b563',
    500: '#4f951b',
    950: '#000000',
  },
}
SCSS
$custom: #4f951b;
$custom-light: #87b563;
$custom-dark: #000000;
JSON
{
  "hex": "#4f951b",
  "rgb": {
    "r": 79,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 94.426,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.16539,
    "h": 135.6
  },
  "luminance": 0.23236
}

Semantic roles & 50–950 ramp

primary
#4F951B
secondary
#8F4BC1
accent
#3CECA1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F951B

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

Preview Lab → · Contrast checker → · Palette generator →

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