#4C7114#4C7114

#4C7114 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.125 H 129.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4C7114
RGBrgb(76, 113, 20)
HSLhsl(84, 70%, 26%)
HSVhsv(84, 82%, 44%)
CMYKcmyk(32.7%, 0%, 82.3%, 55.7%)
CIE-LABlab(43.36, -27.85, 43.50)
CIE-LCHlch(43.36, 51.65, 122.63°)
OKLaboklab(50.23% -0.0796 0.0959)
OKLCHoklch(50.23% 0.125 129.7)
XYZxyz(9.0119, 13.3970, 2.7728)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7114 #391471
analogous
#716714 #4C7114 #1D7114
triadic
#4C7114 #144C71 #71144C
tetradic
#4C7114 #147167 #391471 #71141D
square
#4C7114 #147167 #391471 #71141D
split-complementary
#4C7114 #141D71 #671471
monochromatic
#111A05 #293D0B #4C7114 #6FA51D #92D927

Accessibility & contrast

On white

5.71
#4C7114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4C7114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7114
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7114#FFFFFF#000000##FFFFFF
##4C71141.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#4E6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7114;
/* rgb */ color: rgb(76, 113, 20);
/* oklch */ color: oklch(50.2% 0.125 129.7);
Tailwind
colors: {
  custom: {
    50: '#829a5b',
    500: '#4c7114',
    950: '#000000',
  },
}
SCSS
$custom: #4c7114;
$custom-light: #829a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7114",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 83.871,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50231,
    "c": 0.12463,
    "h": 129.7
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#4C7114
secondary
#6539A7
accent
#3BED82
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7114

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

Preview Lab → · Contrast checker → · Palette generator →

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