#4F6E16#4F6E16

#4F6E16 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.118 H 127.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4F6E16
RGBrgb(79, 110, 22)
HSLhsl(81, 67%, 26%)
HSVhsv(81, 80%, 43%)
CMYKcmyk(28.2%, 0%, 80%, 56.9%)
CIE-LABlab(42.57, -25.02, 42.15)
CIE-LCHlch(42.57, 49.01, 120.70°)
OKLaboklab(49.65% -0.0719 0.0934)
OKLCHoklch(49.65% 0.118 127.6)
XYZxyz(8.9452, 12.8719, 2.7721)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6E16 #35166E
analogous
#6E6116 #4F6E16 #236E16
triadic
#4F6E16 #164F6E #6E164F
tetradic
#4F6E16 #166E61 #35166E #6E1623
square
#4F6E16 #166E61 #35166E #6E1623
split-complementary
#4F6E16 #16236E #61166E
monochromatic
#121A05 #2A3B0C #4F6E16 #74A120 #98D42A

Accessibility & contrast

On white

5.88
#4F6E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4F6E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6E16
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6E16#FFFFFF#000000##FFFFFF
##4F6E161.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#52695D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f6e16;
/* rgb */ color: rgb(79, 110, 22);
/* oklch */ color: oklch(49.6% 0.118 127.6);
Tailwind
colors: {
  custom: {
    50: '#84975b',
    500: '#4f6e16',
    950: '#000000',
  },
}
SCSS
$custom: #4f6e16;
$custom-light: #84975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6e16",
  "rgb": {
    "r": 79,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 81.136,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49645,
    "c": 0.11786,
    "h": 127.6
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#4F6E16
secondary
#603CA4
accent
#3EEA7B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6E16

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

Preview Lab → · Contrast checker → · Palette generator →

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