#4F6813#4F6813

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

Color values

HEX#4F6813
RGBrgb(79, 104, 19)
HSLhsl(78, 69%, 24%)
HSVhsv(78, 82%, 41%)
CMYKcmyk(24%, 0%, 81.7%, 59.2%)
CIE-LABlab(40.59, -22.16, 41.34)
CIE-LCHlch(40.59, 46.90, 118.19°)
OKLaboklab(48.03% -0.0644 0.0911)
OKLCHoklch(48.03% 0.112 125.3)
XYZxyz(8.2924, 11.6098, 2.4200)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6813 #2C1368
analogous
#685713 #4F6813 #256813
triadic
#4F6813 #134F68 #68134F
tetradic
#4F6813 #136857 #2C1368 #681325
square
#4F6813 #136857 #2C1368 #681325
split-complementary
#4F6813 #132568 #571368
monochromatic
#141A05 #28340A #4F6813 #769C1C #9ECF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6813#FFFFFF#000000##FFFFFF
##4F68131.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)
#6B5F1C
Tritanopia (blue-blind)
#536358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6813;
/* rgb */ color: rgb(79, 104, 19);
/* oklch */ color: oklch(48.0% 0.112 125.3);
Tailwind
colors: {
  custom: {
    50: '#839359',
    500: '#4f6813',
    950: '#000000',
  },
}
SCSS
$custom: #4f6813;
$custom-light: #839359;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6813",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 77.647,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.11157,
    "h": 125.3
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#4F6813
secondary
#56379F
accent
#3CEC70
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6813

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

Preview Lab → · Contrast checker → · Palette generator →

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