#4F751C#4F751C

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

Color values

HEX#4F751C
RGBrgb(79, 117, 28)
HSLhsl(86, 61%, 28%)
HSVhsv(86, 76%, 46%)
CMYKcmyk(32.5%, 0%, 76.1%, 54.1%)
CIE-LABlab(44.90, -28.07, 42.17)
CIE-LCHlch(44.90, 50.66, 123.65°)
OKLaboklab(51.55% -0.0797 0.0944)
OKLCHoklch(51.55% 0.124 130.2)
XYZxyz(9.7953, 14.4684, 3.3750)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F751C #421C75
analogous
#756E1C #4F751C #22751C
triadic
#4F751C #1C4F75 #751C4F
tetradic
#4F751C #1C756E #421C75 #751C22
square
#4F751C #1C756E #421C75 #751C22
split-complementary
#4F751C #1C2275 #6E1C75
monochromatic
#111906 #2E4410 #4F751C #70A628 #91D03B

Accessibility & contrast

On white

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

On black

3.89
#4F751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F751C#FFFFFF#000000##FFFFFF
##4F751C1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f751c;
/* rgb */ color: rgb(79, 117, 28);
/* oklch */ color: oklch(51.5% 0.124 130.2);
Tailwind
colors: {
  custom: {
    50: '#849d5f',
    500: '#4f751c',
    950: '#000000',
  },
}
SCSS
$custom: #4f751c;
$custom-light: #849d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f751c",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 85.618,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.12359,
    "h": 130.2
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#4F751C
secondary
#6F44A9
accent
#43E488
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F751C

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

Preview Lab → · Contrast checker → · Palette generator →

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