#4C7113#4C7113

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

Color values

HEX#4C7113
RGBrgb(76, 113, 19)
HSLhsl(84, 71%, 26%)
HSVhsv(84, 83%, 44%)
CMYKcmyk(32.7%, 0%, 83.2%, 55.7%)
CIE-LABlab(43.35, -27.90, 43.81)
CIE-LCHlch(43.35, 51.94, 122.49°)
OKLaboklab(50.22% -0.0798 0.0964)
OKLCHoklch(50.22% 0.125 129.6)
XYZxyz(9.0031, 13.3935, 2.7268)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7113 #381371
analogous
#716713 #4C7113 #1D7113
triadic
#4C7113 #134C71 #71134C
tetradic
#4C7113 #137167 #381371 #71131D
square
#4C7113 #137167 #381371 #71131D
split-complementary
#4C7113 #131D71 #671371
monochromatic
#121A04 #293D0A #4C7113 #6FA51C #92DA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7113#FFFFFF#000000##FFFFFF
##4C71131.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)
#72661D
Tritanopia (blue-blind)
#4E6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7113;
/* rgb */ color: rgb(76, 113, 19);
/* oklch */ color: oklch(50.2% 0.125 129.6);
Tailwind
colors: {
  custom: {
    50: '#829a5a',
    500: '#4c7113',
    950: '#000000',
  },
}
SCSS
$custom: #4c7113;
$custom-light: #829a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7113",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 83.617,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.12515,
    "h": 129.6
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#4C7113
secondary
#6438A8
accent
#3AEE81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7113

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

Preview Lab → · Contrast checker → · Palette generator →

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