#4F7E18#4F7E18

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

Color values

HEX#4F7E18
RGBrgb(79, 126, 24)
HSLhsl(88, 68%, 29%)
HSVhsv(88, 81%, 49%)
CMYKcmyk(37.3%, 0%, 81%, 50.6%)
CIE-LABlab(47.82, -32.52, 46.40)
CIE-LCHlch(47.82, 56.66, 125.02°)
OKLaboklab(53.92% -0.0921 0.1026)
OKLCHoklch(53.92% 0.138 131.9)
XYZxyz(10.8501, 16.6495, 3.5060)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E18 #47187E
analogous
#7E7A18 #4F7E18 #1C7E18
triadic
#4F7E18 #184F7E #7E184F
tetradic
#4F7E18 #187E7A #47187E #7E181C
square
#4F7E18 #187E7A #47187E #7E181C
split-complementary
#4F7E18 #181C7E #7A187E
monochromatic
#101A05 #2F4B0E #4F7E18 #6FB122 #8FD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7E18#FFFFFF#000000##FFFFFF
##4F7E181.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)
#7D7023
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7e18;
/* rgb */ color: rgb(79, 126, 24);
/* oklch */ color: oklch(53.9% 0.138 131.9);
Tailwind
colors: {
  custom: {
    50: '#85a35e',
    500: '#4f7e18',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e18;
$custom-light: #85a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e18",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 87.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.13789,
    "h": 131.9
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#4F7E18
secondary
#743FB2
accent
#3DEB8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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