#4F6917#4F6917

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

Color values

HEX#4F6917
RGBrgb(79, 105, 23)
HSLhsl(79, 64%, 25%)
HSVhsv(79, 78%, 41%)
CMYKcmyk(24.8%, 0%, 78.1%, 58.8%)
CIE-LABlab(40.94, -22.45, 40.22)
CIE-LCHlch(40.94, 46.06, 119.16°)
OKLaboklab(48.33% -0.0648 0.0895)
OKLCHoklch(48.33% 0.111 125.9)
XYZxyz(8.4307, 11.8272, 2.6491)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6917 #311769
analogous
#695A17 #4F6917 #266917
triadic
#4F6917 #174F69 #69174F
tetradic
#4F6917 #17695A #311769 #691726
square
#4F6917 #17695A #311769 #691726
split-complementary
#4F6917 #172669 #5A1769
monochromatic
#131905 #29370C #4F6917 #759B22 #9BCD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6917#FFFFFF#000000##FFFFFF
##4F69171.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)
#6F6206
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#536459
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f6917;
/* rgb */ color: rgb(79, 105, 23);
/* oklch */ color: oklch(48.3% 0.111 125.9);
Tailwind
colors: {
  custom: {
    50: '#83945b',
    500: '#4f6917',
    950: '#000000',
  },
}
SCSS
$custom: #4f6917;
$custom-light: #83945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6917",
  "rgb": {
    "r": 79,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 79.024,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48325,
    "c": 0.1105,
    "h": 125.9
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#4F6917
secondary
#5C3D9F
accent
#41E775
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6917

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

Preview Lab → · Contrast checker → · Palette generator →

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