#4F6814#4F6814

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

Color values

HEX#4F6814
RGBrgb(79, 104, 20)
HSLhsl(78, 68%, 24%)
HSVhsv(78, 81%, 41%)
CMYKcmyk(24%, 0%, 80.8%, 59.2%)
CIE-LABlab(40.59, -22.11, 40.99)
CIE-LCHlch(40.59, 46.57, 118.34°)
OKLaboklab(48.04% -0.0642 0.0906)
OKLCHoklch(48.04% 0.111 125.3)
XYZxyz(8.3011, 11.6133, 2.4659)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6814 #2D1468
analogous
#685714 #4F6814 #256814
triadic
#4F6814 #144F68 #68144F
tetradic
#4F6814 #146857 #2D1468 #681425
square
#4F6814 #146857 #2D1468 #681425
split-complementary
#4F6814 #142568 #571468
monochromatic
#131A05 #28350A #4F6814 #769B1E #9DCF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4f6814;
/* rgb */ color: rgb(79, 104, 20);
/* oklch */ color: oklch(48.0% 0.111 125.3);
Tailwind
colors: {
  custom: {
    50: '#839359',
    500: '#4f6814',
    950: '#000000',
  },
}
SCSS
$custom: #4f6814;
$custom-light: #839359;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6814",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 77.857,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48039,
    "c": 0.111,
    "h": 125.3
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#4F6814
secondary
#57399F
accent
#3DEB71
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6814

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

Preview Lab → · Contrast checker → · Palette generator →

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