#4F741B#4F741B

#4F741B is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.123 H 129.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4F741B
RGBrgb(79, 116, 27)
HSLhsl(85, 62%, 28%)
HSVhsv(85, 77%, 45%)
CMYKcmyk(31.9%, 0%, 76.7%, 54.5%)
CIE-LABlab(44.56, -27.65, 42.23)
CIE-LCHlch(44.56, 50.47, 123.22°)
OKLaboklab(51.28% -0.0787 0.0944)
OKLCHoklch(51.28% 0.123 129.8)
XYZxyz(9.6676, 14.2319, 3.2744)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F741B #401B74
analogous
#746C1B #4F741B #22741B
triadic
#4F741B #1B4F74 #741B4F
tetradic
#4F741B #1B746C #401B74 #741B22
square
#4F741B #1B746C #401B74 #741B22
split-complementary
#4F741B #1B2274 #6C1B74
monochromatic
#111906 #2D420F #4F741B #71A627 #92D139

Accessibility & contrast

On white

5.46
#4F741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4F741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F741B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F741B#FFFFFF#000000##FFFFFF
##4F741B1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#516F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f741b;
/* rgb */ color: rgb(79, 116, 27);
/* oklch */ color: oklch(51.3% 0.123 129.8);
Tailwind
colors: {
  custom: {
    50: '#849c5e',
    500: '#4f741b',
    950: '#000000',
  },
}
SCSS
$custom: #4f741b;
$custom-light: #849c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f741b",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 84.944,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.12287,
    "h": 129.8
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#4F741B
secondary
#6D42A9
accent
#42E586
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F741B

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

Preview Lab → · Contrast checker → · Palette generator →

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