#4F751B#4F751B

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

Color values

HEX#4F751B
RGBrgb(79, 117, 27)
HSLhsl(85, 63%, 28%)
HSVhsv(85, 77%, 46%)
CMYKcmyk(32.5%, 0%, 76.9%, 54.1%)
CIE-LABlab(44.89, -28.13, 42.55)
CIE-LCHlch(44.89, 51.01, 123.47°)
OKLaboklab(51.54% -0.08 0.095)
OKLCHoklch(51.54% 0.124 130.1)
XYZxyz(9.7835, 14.4637, 3.3130)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F751B #411B75
analogous
#756E1B #4F751B #22751B
triadic
#4F751B #1B4F75 #751B4F
tetradic
#4F751B #1B756E #411B75 #751B22
square
#4F751B #1B756E #411B75 #751B22
split-complementary
#4F751B #1B2275 #6E1B75
monochromatic
#111906 #2D4310 #4F751B #71A726 #91D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F751B#FFFFFF#000000##FFFFFF
##4F751B1.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)
#7B6C09
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#517064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f751b;
/* rgb */ color: rgb(79, 117, 27);
/* oklch */ color: oklch(51.5% 0.124 130.1);
Tailwind
colors: {
  custom: {
    50: '#849d5e',
    500: '#4f751b',
    950: '#000000',
  },
}
SCSS
$custom: #4f751b;
$custom-light: #849d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f751b",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 85.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.12423,
    "h": 130.1
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#4F751B
secondary
#6E42A9
accent
#42E687
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F751B

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

Preview Lab → · Contrast checker → · Palette generator →

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