#4C6814#4C6814

#4C6814 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.113 H 126.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4C6814
RGBrgb(76, 104, 20)
HSLhsl(80, 68%, 24%)
HSVhsv(80, 81%, 41%)
CMYKcmyk(26.9%, 0%, 80.8%, 59.2%)
CIE-LABlab(40.39, -23.42, 40.73)
CIE-LCHlch(40.39, 46.98, 119.90°)
OKLaboklab(47.82% -0.0675 0.0901)
OKLCHoklch(47.82% 0.113 126.9)
XYZxyz(8.0571, 11.4875, 2.4545)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6814 #301468
analogous
#685A14 #4C6814 #226814
triadic
#4C6814 #144C68 #68144C
tetradic
#4C6814 #14685A #301468 #681422
square
#4C6814 #14685A #301468 #681422
split-complementary
#4C6814 #142268 #5A1468
monochromatic
#131A05 #26350A #4C6814 #729B1E #97CF28

Accessibility & contrast

On white

6.37
#4C6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4C6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6814
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6814#FFFFFF#000000##FFFFFF
##4C68141.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6001
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#4F6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c6814;
/* rgb */ color: rgb(76, 104, 20);
/* oklch */ color: oklch(47.8% 0.113 126.9);
Tailwind
colors: {
  custom: {
    50: '#819359',
    500: '#4c6814',
    950: '#000000',
  },
}
SCSS
$custom: #4c6814;
$custom-light: #819359;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6814",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 80,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47819,
    "c": 0.11261,
    "h": 126.9
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#4C6814
secondary
#5B399F
accent
#3DEB77
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6814

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

Preview Lab → · Contrast checker → · Palette generator →

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