#4F751E#4F751E

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

Color values

HEX#4F751E
RGBrgb(79, 117, 30)
HSLhsl(86, 59%, 29%)
HSVhsv(86, 74%, 46%)
CMYKcmyk(32.5%, 0%, 74.4%, 54.1%)
CIE-LABlab(44.91, -27.93, 41.40)
CIE-LCHlch(44.91, 49.94, 124.01°)
OKLaboklab(51.57% -0.0792 0.0931)
OKLCHoklch(51.57% 0.122 130.4)
XYZxyz(9.8200, 14.4783, 3.5052)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F751E #441E75
analogous
#75701E #4F751E #24751E
triadic
#4F751E #1E4F75 #751E4F
tetradic
#4F751E #1E7570 #441E75 #751E24
square
#4F751E #1E7570 #441E75 #751E24
split-complementary
#4F751E #1E2475 #701E75
monochromatic
#101806 #2E4412 #4F751E #70A62A #90CE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F751E#FFFFFF#000000##FFFFFF
##4F751E1.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)
#7B6C0F
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#517064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f751e;
/* rgb */ color: rgb(79, 117, 30);
/* oklch */ color: oklch(51.6% 0.122 130.4);
Tailwind
colors: {
  custom: {
    50: '#849d60',
    500: '#4f751e',
    950: '#000000',
  },
}
SCSS
$custom: #4f751e;
$custom-light: #849d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f751e",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 86.207,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.12224,
    "h": 130.4
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#4F751E
secondary
#7146A9
accent
#45E28A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F751E

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

Preview Lab → · Contrast checker → · Palette generator →

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