#4F6811#4F6811

#4F6811 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.113 H 125.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4F6811
RGBrgb(79, 104, 17)
HSLhsl(77, 72%, 24%)
HSVhsv(77, 84%, 41%)
CMYKcmyk(24%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.58, -22.26, 41.99)
CIE-LCHlch(40.58, 47.53, 117.93°)
OKLaboklab(48.02% -0.0648 0.0921)
OKLCHoklch(48.02% 0.113 125.1)
XYZxyz(8.2760, 11.6033, 2.3338)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6811 #2A1168
analogous
#685511 #4F6811 #236811
triadic
#4F6811 #114F68 #68114F
tetradic
#4F6811 #116855 #2A1168 #681123
square
#4F6811 #116855 #2A1168 #681123
split-complementary
#4F6811 #112368 #551168
monochromatic
#141A04 #273308 #4F6811 #779D1A #9FD122

Accessibility & contrast

On white

6.32
#4F6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6811
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6811#FFFFFF#000000##FFFFFF
##4F68111.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#536358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6811;
/* rgb */ color: rgb(79, 104, 17);
/* oklch */ color: oklch(48.0% 0.113 125.1);
Tailwind
colors: {
  custom: {
    50: '#839358',
    500: '#4f6811',
    950: '#000000',
  },
}
SCSS
$custom: #4f6811;
$custom-light: #839358;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6811",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 77.241,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.11266,
    "h": 125.1
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#4F6811
secondary
#5435A0
accent
#39EF6D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6811

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

Preview Lab → · Contrast checker → · Palette generator →

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