#4F7F19#4F7F19

#4F7F19 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.139 H 132.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4F7F19
RGBrgb(79, 127, 25)
HSLhsl(88, 67%, 30%)
HSVhsv(88, 80%, 50%)
CMYKcmyk(37.8%, 0%, 80.3%, 50.2%)
CIE-LABlab(48.15, -32.91, 46.38)
CIE-LCHlch(48.15, 56.87, 125.36°)
OKLaboklab(54.2% -0.0931 0.1028)
OKLCHoklch(54.2% 0.139 132.2)
XYZxyz(10.9892, 16.9107, 3.6046)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7F19 #49197F
analogous
#7F7C19 #4F7F19 #1C7F19
triadic
#4F7F19 #194F7F #7F194F
tetradic
#4F7F19 #197F7C #49197F #7F191C
square
#4F7F19 #197F7C #49197F #7F191C
split-complementary
#4F7F19 #191C7F #7C197F
monochromatic
#101A05 #2F4C0F #4F7F19 #6FB223 #8ED83A

Accessibility & contrast

On white

4.79
#4F7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4F7F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7F19
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7F19#FFFFFF#000000##FFFFFF
##4F7F191.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#50796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7f19;
/* rgb */ color: rgb(79, 127, 25);
/* oklch */ color: oklch(54.2% 0.139 132.2);
Tailwind
colors: {
  custom: {
    50: '#85a45f',
    500: '#4f7f19',
    950: '#000000',
  },
}
SCSS
$custom: #4f7f19;
$custom-light: #85a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7f19",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 88.235,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.13865,
    "h": 132.2
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

primary
#4F7F19
secondary
#7741B3
accent
#3EEA8F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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