#4F6E17#4F6E17

#4F6E17 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.7% C 0.117 H 127.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4F6E17
RGBrgb(79, 110, 23)
HSLhsl(81, 65%, 26%)
HSVhsv(81, 79%, 43%)
CMYKcmyk(28.2%, 0%, 79.1%, 56.9%)
CIE-LABlab(42.58, -24.96, 41.79)
CIE-LCHlch(42.58, 48.68, 120.85°)
OKLaboklab(49.65% -0.0717 0.0928)
OKLCHoklch(49.65% 0.117 127.7)
XYZxyz(8.9550, 12.8758, 2.8239)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6E17 #36176E
analogous
#6E6117 #4F6E17 #236E17
triadic
#4F6E17 #174F6E #6E174F
tetradic
#4F6E17 #176E61 #36176E #6E1723
square
#4F6E17 #176E61 #36176E #6E1723
split-complementary
#4F6E17 #17236E #61176E
monochromatic
#121905 #2B3B0C #4F6E17 #73A122 #98D32C

Accessibility & contrast

On white

5.87
#4F6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4F6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6E17
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6E17#FFFFFF#000000##FFFFFF
##4F6E171.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#52695E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f6e17;
/* rgb */ color: rgb(79, 110, 23);
/* oklch */ color: oklch(49.7% 0.117 127.7);
Tailwind
colors: {
  custom: {
    50: '#84975b',
    500: '#4f6e17',
    950: '#000000',
  },
}
SCSS
$custom: #4f6e17;
$custom-light: #84975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6e17",
  "rgb": {
    "r": 79,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 81.379,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49652,
    "c": 0.11726,
    "h": 127.7
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#4F6E17
secondary
#623DA4
accent
#3FE87C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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