#4F941B#4F941B

#4F941B is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 59.8% C 0.164 H 135.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4F941B
RGBrgb(79, 148, 27)
HSLhsl(94, 69%, 34%)
HSVhsv(94, 82%, 58%)
CMYKcmyk(46.6%, 0%, 81.8%, 42%)
CIE-LABlab(54.99, -41.86, 52.13)
CIE-LCHlch(54.99, 66.85, 128.77°)
OKLaboklab(59.81% -0.117 0.1151)
OKLCHoklch(59.81% 0.164 135.5)
XYZxyz(14.0118, 22.9203, 4.7224)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F941B #601B94
analogous
#8C941B #4F941B #1B9424
triadic
#4F941B #1B4F94 #941B4F
tetradic
#4F941B #1B8C94 #601B94 #94241B
square
#4F941B #1B8C94 #601B94 #94241B
split-complementary
#4F941B #241B94 #941B8C
monochromatic
#182C08 #336012 #4F941B #6BC824 #8ADE4B

Accessibility & contrast

On white

3.76
#4F941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4F941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F941B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F941B#FFFFFF#000000##000000
##4F941B1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f941b;
/* rgb */ color: rgb(79, 148, 27);
/* oklch */ color: oklch(59.8% 0.164 135.5);
Tailwind
colors: {
  custom: {
    50: '#87b463',
    500: '#4f941b',
    950: '#000000',
  },
}
SCSS
$custom: #4f941b;
$custom-light: #87b463;
$custom-dark: #000000;
JSON
{
  "hex": "#4f941b",
  "rgb": {
    "r": 79,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 94.215,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59806,
    "c": 0.16417,
    "h": 135.5
  },
  "luminance": 0.22921
}

Semantic roles & 50–950 ramp

primary
#4F941B
secondary
#8E4BC0
accent
#3CECA0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F941B

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

Preview Lab → · Contrast checker → · Palette generator →

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