#4F6918#4F6918

#4F6918 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.110 H 126.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4F6918
RGBrgb(79, 105, 24)
HSLhsl(79, 63%, 25%)
HSVhsv(79, 77%, 41%)
CMYKcmyk(24.8%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.95, -22.38, 39.84)
CIE-LCHlch(40.95, 45.70, 119.33°)
OKLaboklab(48.33% -0.0646 0.0889)
OKLCHoklch(48.33% 0.11 126)
XYZxyz(8.4409, 11.8312, 2.7029)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6918 #321869
analogous
#695A18 #4F6918 #276918
triadic
#4F6918 #184F69 #69184F
tetradic
#4F6918 #18695A #321869 #691827
square
#4F6918 #18695A #321869 #691827
split-complementary
#4F6918 #182769 #5A1869
monochromatic
#131906 #2A370D #4F6918 #749B23 #9ACD2F

Accessibility & contrast

On white

6.24
#4F6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4F6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6918
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6918#FFFFFF#000000##FFFFFF
##4F69181.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#536459
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f6918;
/* rgb */ color: rgb(79, 105, 24);
/* oklch */ color: oklch(48.3% 0.110 126.0);
Tailwind
colors: {
  custom: {
    50: '#83945b',
    500: '#4f6918',
    950: '#000000',
  },
}
SCSS
$custom: #4f6918;
$custom-light: #83945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6918",
  "rgb": {
    "r": 79,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 79.259,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.10985,
    "h": 126
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#4F6918
secondary
#5D3E9F
accent
#42E677
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6918

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

Preview Lab → · Contrast checker → · Palette generator →

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