#4F7B1B#4F7B1B

#4F7B1B is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.132 H 131.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4F7B1B
RGBrgb(79, 123, 27)
HSLhsl(88, 64%, 29%)
HSVhsv(88, 78%, 48%)
CMYKcmyk(35.8%, 0%, 78%, 51.8%)
CIE-LABlab(46.85, -30.96, 44.45)
CIE-LCHlch(46.85, 54.17, 124.86°)
OKLaboklab(53.14% -0.0877 0.099)
OKLCHoklch(53.14% 0.132 131.5)
XYZxyz(10.5051, 15.9069, 3.5535)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7B1B #471B7B
analogous
#7B771B #4F7B1B #1F7B1B
triadic
#4F7B1B #1B4F7B #7B1B4F
tetradic
#4F7B1B #1B7B77 #471B7B #7B1B1F
square
#4F7B1B #1B7B77 #471B7B #7B1B1F
split-complementary
#4F7B1B #1B1F7B #771B7B
monochromatic
#101906 #2F4910 #4F7B1B #6FAD26 #8FD43C

Accessibility & contrast

On white

5.02
#4F7B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4F7B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7B1B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7B1B#FFFFFF#000000##FFFFFF
##4F7B1B1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817106
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#507669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7b1b;
/* rgb */ color: rgb(79, 123, 27);
/* oklch */ color: oklch(53.1% 0.132 131.5);
Tailwind
colors: {
  custom: {
    50: '#84a15f',
    500: '#4f7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f7b1b;
$custom-light: #84a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7b1b",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 87.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.13227,
    "h": 131.5
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#4F7B1B
secondary
#7443AF
accent
#41E78D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4F7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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