#4F6F15#4F6F15

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

Color values

HEX#4F6F15
RGBrgb(79, 111, 21)
HSLhsl(81, 68%, 26%)
HSVhsv(81, 81%, 44%)
CMYKcmyk(28.8%, 0%, 81.1%, 56.5%)
CIE-LABlab(42.89, -25.57, 42.80)
CIE-LCHlch(42.89, 49.85, 120.86°)
OKLaboklab(49.91% -0.0735 0.0946)
OKLCHoklch(49.91% 0.12 127.9)
XYZxyz(9.0443, 13.0851, 2.7585)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6F15 #35156F
analogous
#6F6215 #4F6F15 #226F15
triadic
#4F6F15 #154F6F #6F154F
tetradic
#4F6F15 #156F62 #35156F #6F1522
square
#4F6F15 #156F62 #35156F #6F1522
split-complementary
#4F6F15 #15226F #62156F
monochromatic
#121A05 #2A3C0B #4F6F15 #74A21F #98D628

Accessibility & contrast

On white

5.81
#4F6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F6F15
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6F15#FFFFFF#000000##FFFFFF
##4F6F151.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#526A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f6f15;
/* rgb */ color: rgb(79, 111, 21);
/* oklch */ color: oklch(49.9% 0.120 127.9);
Tailwind
colors: {
  custom: {
    50: '#84985b',
    500: '#4f6f15',
    950: '#000000',
  },
}
SCSS
$custom: #4f6f15;
$custom-light: #84985b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6f15",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 81.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.11977,
    "h": 127.9
  },
  "luminance": 0.13085
}

Semantic roles & 50–950 ramp

primary
#4F6F15
secondary
#603AA5
accent
#3DEB7B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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