#4C7117#4C7117

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

Color values

HEX#4C7117
RGBrgb(76, 113, 23)
HSLhsl(85, 66%, 27%)
HSVhsv(85, 80%, 44%)
CMYKcmyk(32.7%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.37, -27.68, 42.49)
CIE-LCHlch(43.37, 50.71, 123.08°)
OKLaboklab(50.25% -0.0789 0.0943)
OKLCHoklch(50.25% 0.123 129.9)
XYZxyz(9.0402, 13.4083, 2.9222)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7117 #3C1771
analogous
#716917 #4C7117 #1F7117
triadic
#4C7117 #174C71 #71174C
tetradic
#4C7117 #177169 #3C1771 #71171F
square
#4C7117 #177169 #3C1771 #71171F
split-complementary
#4C7117 #171F71 #691771
monochromatic
#111905 #2A3E0D #4C7117 #6EA421 #90D42E

Accessibility & contrast

On white

5.70
#4C7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C7117
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7117#FFFFFF#000000##FFFFFF
##4C71171.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776803
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#4E6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7117;
/* rgb */ color: rgb(76, 113, 23);
/* oklch */ color: oklch(50.2% 0.123 129.9);
Tailwind
colors: {
  custom: {
    50: '#829a5c',
    500: '#4c7117',
    950: '#000000',
  },
}
SCSS
$custom: #4c7117;
$custom-light: #829a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7117",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 84.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.12296,
    "h": 129.9
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#4C7117
secondary
#693DA7
accent
#3FE985
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7117

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

Preview Lab → · Contrast checker → · Palette generator →

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