#4F7E19#4F7E19

#4F7E19 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.137 H 132.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4F7E19
RGBrgb(79, 126, 25)
HSLhsl(88, 67%, 30%)
HSVhsv(88, 80%, 49%)
CMYKcmyk(37.3%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.82, -32.46, 46.07)
CIE-LCHlch(47.82, 56.36, 125.17°)
OKLaboklab(53.93% -0.0919 0.1021)
OKLCHoklch(53.93% 0.137 132)
XYZxyz(10.8607, 16.6537, 3.5618)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E19 #48197E
analogous
#7E7B19 #4F7E19 #1D7E19
triadic
#4F7E19 #194F7E #7E194F
tetradic
#4F7E19 #197E7B #48197E #7E191D
square
#4F7E19 #197E7B #48197E #7E191D
split-complementary
#4F7E19 #191D7E #7B197E
monochromatic
#101A05 #2F4B0F #4F7E19 #6FB123 #8ED83A

Accessibility & contrast

On white

4.85
#4F7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4F7E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7E19
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7E19#FFFFFF#000000##FFFFFF
##4F7E191.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7e19;
/* rgb */ color: rgb(79, 126, 25);
/* oklch */ color: oklch(53.9% 0.137 132.0);
Tailwind
colors: {
  custom: {
    50: '#85a35f',
    500: '#4f7e19',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e19;
$custom-light: #85a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e19",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 87.921,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.13736,
    "h": 132
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#4F7E19
secondary
#7541B2
accent
#3EEA8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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