#4F6F11#4F6F11

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

Color values

HEX#4F6F11
RGBrgb(79, 111, 17)
HSLhsl(80, 73%, 25%)
HSVhsv(80, 85%, 44%)
CMYKcmyk(28.8%, 0%, 84.7%, 56.5%)
CIE-LABlab(42.87, -25.77, 44.07)
CIE-LCHlch(42.87, 51.05, 120.32°)
OKLaboklab(49.88% -0.0744 0.0965)
OKLCHoklch(49.88% 0.122 127.6)
XYZxyz(9.0101, 13.0714, 2.5785)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6F11 #31116F
analogous
#6F6011 #4F6F11 #206F11
triadic
#4F6F11 #114F6F #6F114F
tetradic
#4F6F11 #116F60 #31116F #6F1120
square
#4F6F11 #116F60 #31116F #6F1120
split-complementary
#4F6F11 #11206F #60116F
monochromatic
#131B04 #293A09 #4F6F11 #75A419 #9BD921

Accessibility & contrast

On white

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

On black

3.61
#4F6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F6F11#FFFFFF#000000##FFFFFF
##4F6F111.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f6f11;
/* rgb */ color: rgb(79, 111, 17);
/* oklch */ color: oklch(49.9% 0.122 127.6);
Tailwind
colors: {
  custom: {
    50: '#849859',
    500: '#4f6f11',
    950: '#000000',
  },
}
SCSS
$custom: #4f6f11;
$custom-light: #849859;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6f11",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 80.426,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.12185,
    "h": 127.6
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#4F6F11
secondary
#5C35A6
accent
#38F076
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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