#4F751F#4F751F

#4F751F is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.122 H 130.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4F751F
RGBrgb(79, 117, 31)
HSLhsl(87, 58%, 29%)
HSVhsv(87, 74%, 46%)
CMYKcmyk(32.5%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.92, -27.86, 41.00)
CIE-LCHlch(44.92, 49.57, 124.20°)
OKLaboklab(51.57% -0.0789 0.0925)
OKLCHoklch(51.57% 0.122 130.5)
XYZxyz(9.8330, 14.4835, 3.5736)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F751F #451F75
analogous
#75701F #4F751F #24751F
triadic
#4F751F #1F4F75 #751F4F
tetradic
#4F751F #1F7570 #451F75 #751F24
square
#4F751F #1F7570 #451F75 #751F24
split-complementary
#4F751F #1F2475 #701F75
monochromatic
#101806 #2E4512 #4F751F #70A52C #8FCD42

Accessibility & contrast

On white

5.39
#4F751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F751F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F751F#FFFFFF#000000##FFFFFF
##4F751F1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C11
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#517064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f751f;
/* rgb */ color: rgb(79, 117, 31);
/* oklch */ color: oklch(51.6% 0.122 130.5);
Tailwind
colors: {
  custom: {
    50: '#849d60',
    500: '#4f751f',
    950: '#000000',
  },
}
SCSS
$custom: #4f751f;
$custom-light: #849d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f751f",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 86.512,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.12155,
    "h": 130.5
  },
  "luminance": 0.14484
}

Semantic roles & 50–950 ramp

primary
#4F751F
secondary
#7247A9
accent
#46E18B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F751F

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

Preview Lab → · Contrast checker → · Palette generator →

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