#4F6E18#4F6E18

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

Color values

HEX#4F6E18
RGBrgb(79, 110, 24)
HSLhsl(82, 64%, 26%)
HSVhsv(82, 78%, 43%)
CMYKcmyk(28.2%, 0%, 78.2%, 56.9%)
CIE-LABlab(42.58, -24.90, 41.43)
CIE-LCHlch(42.58, 48.34, 121.01°)
OKLaboklab(49.66% -0.0715 0.0922)
OKLCHoklch(49.66% 0.117 127.8)
XYZxyz(8.9653, 12.8799, 2.8777)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6E18 #37186E
analogous
#6E6218 #4F6E18 #246E18
triadic
#4F6E18 #184F6E #6E184F
tetradic
#4F6E18 #186E62 #37186E #6E1824
square
#4F6E18 #186E62 #37186E #6E1824
split-complementary
#4F6E18 #18246E #62186E
monochromatic
#121905 #2B3C0D #4F6E18 #73A023 #97D22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6E18#FFFFFF#000000##FFFFFF
##4F6E181.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)
#746606
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#52695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f6e18;
/* rgb */ color: rgb(79, 110, 24);
/* oklch */ color: oklch(49.7% 0.117 127.8);
Tailwind
colors: {
  custom: {
    50: '#83975c',
    500: '#4f6e18',
    950: '#000000',
  },
}
SCSS
$custom: #4f6e18;
$custom-light: #83975c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6e18",
  "rgb": {
    "r": 79,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 81.628,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.11664,
    "h": 127.8
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#4F6E18
secondary
#633EA4
accent
#41E77D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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