#4F751D#4F751D

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

Color values

HEX#4F751D
RGBrgb(79, 117, 29)
HSLhsl(86, 60%, 29%)
HSVhsv(86, 75%, 46%)
CMYKcmyk(32.5%, 0%, 75.2%, 54.1%)
CIE-LABlab(44.90, -28.00, 41.79)
CIE-LCHlch(44.90, 50.30, 123.82°)
OKLaboklab(51.56% -0.0795 0.0938)
OKLCHoklch(51.56% 0.123 130.3)
XYZxyz(9.8074, 14.4732, 3.4390)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F751D #431D75
analogous
#756F1D #4F751D #23751D
triadic
#4F751D #1D4F75 #751D4F
tetradic
#4F751D #1D756F #431D75 #751D23
square
#4F751D #1D756F #431D75 #751D23
split-complementary
#4F751D #1D2375 #6F1D75
monochromatic
#111906 #2E4411 #4F751D #70A629 #90CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F751D#FFFFFF#000000##FFFFFF
##4F751D1.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)
#7B6C0D
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#517064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f751d;
/* rgb */ color: rgb(79, 117, 29);
/* oklch */ color: oklch(51.6% 0.123 130.3);
Tailwind
colors: {
  custom: {
    50: '#849d5f',
    500: '#4f751d',
    950: '#000000',
  },
}
SCSS
$custom: #4f751d;
$custom-light: #849d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f751d",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 85.909,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.12292,
    "h": 130.3
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#4F751D
secondary
#7045A9
accent
#44E389
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F751D

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

Preview Lab → · Contrast checker → · Palette generator →

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