#4F7B19#4F7B19

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

Color values

HEX#4F7B19
RGBrgb(79, 123, 25)
HSLhsl(87, 66%, 29%)
HSVhsv(87, 80%, 48%)
CMYKcmyk(35.8%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.84, -31.08, 45.15)
CIE-LCHlch(46.84, 54.81, 124.55°)
OKLaboklab(53.13% -0.0882 0.1002)
OKLCHoklch(53.13% 0.133 131.4)
XYZxyz(10.4828, 15.8980, 3.4358)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7B19 #45197B
analogous
#7B7619 #4F7B19 #1E7B19
triadic
#4F7B19 #194F7B #7B194F
tetradic
#4F7B19 #197B76 #45197B #7B191E
square
#4F7B19 #197B76 #45197B #7B191E
split-complementary
#4F7B19 #191E7B #76197B
monochromatic
#101905 #2E480F #4F7B19 #70AE23 #8FD738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7B19#FFFFFF#000000##FFFFFF
##4F7B191.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)
#817101
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#507669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7b19;
/* rgb */ color: rgb(79, 123, 25);
/* oklch */ color: oklch(53.1% 0.133 131.4);
Tailwind
colors: {
  custom: {
    50: '#85a15e',
    500: '#4f7b19',
    950: '#000000',
  },
}
SCSS
$custom: #4f7b19;
$custom-light: #85a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7b19",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 86.939,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53128,
    "c": 0.13343,
    "h": 131.4
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#4F7B19
secondary
#7240AF
accent
#3FE98B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4F7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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