#4F6F18#4F6F18

#4F6F18 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.118 H 128.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4F6F18
RGBrgb(79, 111, 24)
HSLhsl(82, 64%, 26%)
HSVhsv(82, 78%, 44%)
CMYKcmyk(28.8%, 0%, 78.4%, 56.5%)
CIE-LABlab(42.91, -25.40, 41.74)
CIE-LCHlch(42.91, 48.86, 121.32°)
OKLaboklab(49.93% -0.0728 0.0929)
OKLCHoklch(49.93% 0.118 128.1)
XYZxyz(9.0738, 13.0969, 2.9139)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6F18 #38186F
analogous
#6F6418 #4F6F18 #246F18
triadic
#4F6F18 #184F6F #6F184F
tetradic
#4F6F18 #186F64 #38186F #6F1824
square
#4F6F18 #186F64 #38186F #6F1824
split-complementary
#4F6F18 #18246F #64186F
monochromatic
#121905 #2B3D0D #4F6F18 #73A123 #96D22F

Accessibility & contrast

On white

5.80
#4F6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6F18
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6F18#FFFFFF#000000##FFFFFF
##4F6F181.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#526A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f6f18;
/* rgb */ color: rgb(79, 111, 24);
/* oklch */ color: oklch(49.9% 0.118 128.1);
Tailwind
colors: {
  custom: {
    50: '#84985c',
    500: '#4f6f18',
    950: '#000000',
  },
}
SCSS
$custom: #4f6f18;
$custom-light: #84985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6f18",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 82.069,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.118,
    "h": 128.1
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#4F6F18
secondary
#643EA5
accent
#40E77E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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