#4F6D16#4F6D16

#4F6D16 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.117 H 127.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4F6D16
RGBrgb(79, 109, 22)
HSLhsl(81, 66%, 26%)
HSVhsv(81, 80%, 43%)
CMYKcmyk(27.5%, 0%, 79.8%, 57.3%)
CIE-LABlab(42.24, -24.52, 41.84)
CIE-LCHlch(42.24, 48.49, 120.38°)
OKLaboklab(49.38% -0.0706 0.0927)
OKLCHoklch(49.38% 0.117 127.3)
XYZxyz(8.8379, 12.6573, 2.7364)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6D16 #34166D
analogous
#6D5F16 #4F6D16 #236D16
triadic
#4F6D16 #164F6D #6D164F
tetradic
#4F6D16 #166D5F #34166D #6D1623
square
#4F6D16 #166D5F #34166D #6D1623
split-complementary
#4F6D16 #16236D #5F166D
monochromatic
#121905 #2A3A0C #4F6D16 #74A020 #99D32B

Accessibility & contrast

On white

5.95
#4F6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4F6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6D16
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6D16#FFFFFF#000000##FFFFFF
##4F6D161.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#52685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f6d16;
/* rgb */ color: rgb(79, 109, 22);
/* oklch */ color: oklch(49.4% 0.117 127.3);
Tailwind
colors: {
  custom: {
    50: '#84975b',
    500: '#4f6d16',
    950: '#000000',
  },
}
SCSS
$custom: #4f6d16;
$custom-light: #84975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6d16",
  "rgb": {
    "r": 79,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 80.69,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.11652,
    "h": 127.3
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#4F6D16
secondary
#5F3CA3
accent
#3EE979
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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