#4C7111#4C7111

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

Color values

HEX#4C7111
RGBrgb(76, 113, 17)
HSLhsl(83, 74%, 25%)
HSVhsv(83, 85%, 44%)
CMYKcmyk(32.7%, 0%, 85%, 55.7%)
CIE-LABlab(43.34, -27.99, 44.42)
CIE-LCHlch(43.34, 52.50, 122.22°)
OKLaboklab(50.21% -0.0802 0.0974)
OKLCHoklch(50.21% 0.126 129.5)
XYZxyz(8.9868, 13.3869, 2.6407)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7111 #361171
analogous
#716611 #4C7111 #1C7111
triadic
#4C7111 #114C71 #71114C
tetradic
#4C7111 #117166 #361171 #71111C
square
#4C7111 #117166 #361171 #71111C
split-complementary
#4C7111 #111C71 #661171
monochromatic
#121B04 #283C09 #4C7111 #70A619 #94DB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4c7111;
/* rgb */ color: rgb(76, 113, 17);
/* oklch */ color: oklch(50.2% 0.126 129.5);
Tailwind
colors: {
  custom: {
    50: '#829a59',
    500: '#4c7111',
    950: '#000000',
  },
}
SCSS
$custom: #4c7111;
$custom-light: #829a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7111",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 83.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.12613,
    "h": 129.5
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

primary
#4C7111
secondary
#6236A8
accent
#37F17F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7111

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

Preview Lab → · Contrast checker → · Palette generator →

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