#4C8125#4C8125

#4C8125 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.135 H 134.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4C8125
RGBrgb(76, 129, 37)
HSLhsl(95, 55%, 33%)
HSVhsv(95, 71%, 51%)
CMYKcmyk(41.1%, 0%, 71.3%, 49.4%)
CIE-LABlab(48.72, -34.11, 42.37)
CIE-LCHlch(48.72, 54.39, 128.83°)
OKLaboklab(54.65% -0.0952 0.0963)
OKLCHoklch(54.65% 0.135 134.7)
XYZxyz(11.1644, 17.3700, 4.5144)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8125 #5A2581
analogous
#7A8125 #4C8125 #25812C
triadic
#4C8125 #254C81 #81254C
tetradic
#4C8125 #257A81 #5A2581 #812C25
square
#4C8125 #257A81 #5A2581 #812C25
split-complementary
#4C8125 #2C2581 #81257A
monochromatic
#14220A #305117 #4C8125 #68B133 #87CE53

Accessibility & contrast

On white

4.69
#4C8125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4C8125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8125
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8125#FFFFFF#000000##FFFFFF
##4C81251.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867617
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#4B7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c8125;
/* rgb */ color: rgb(76, 129, 37);
/* oklch */ color: oklch(54.6% 0.135 134.7);
Tailwind
colors: {
  custom: {
    50: '#83a665',
    500: '#4c8125',
    950: '#000000',
  },
}
SCSS
$custom: #4c8125;
$custom-light: #83a665;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8125",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 94.565,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.1354,
    "h": 134.7
  },
  "luminance": 0.17371
}

Semantic roles & 50–950 ramp

primary
#4C8125
secondary
#8850B2
accent
#49DF9F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8125

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

Preview Lab → · Contrast checker → · Palette generator →

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