#4C8121#4C8121

#4C8121 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.138 H 134.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C8121
RGBrgb(76, 129, 33)
HSLhsl(93, 59%, 32%)
HSVhsv(93, 74%, 51%)
CMYKcmyk(41.1%, 0%, 74.4%, 49.4%)
CIE-LABlab(48.69, -34.42, 43.96)
CIE-LCHlch(48.69, 55.83, 128.06°)
OKLaboklab(54.62% -0.0964 0.099)
OKLCHoklch(54.62% 0.138 134.2)
XYZxyz(11.1050, 17.3463, 4.2016)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8121 #562181
analogous
#7C8121 #4C8121 #218126
triadic
#4C8121 #214C81 #81214C
tetradic
#4C8121 #217C81 #562181 #812621
square
#4C8121 #217C81 #562181 #812621
split-complementary
#4C8121 #262181 #81217C
monochromatic
#132008 #2F5015 #4C8121 #69B22D #87D14B

Accessibility & contrast

On white

4.70
#4C8121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C8121
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8121#FFFFFF#000000##FFFFFF
##4C81211.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867610
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#4B7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c8121;
/* rgb */ color: rgb(76, 129, 33);
/* oklch */ color: oklch(54.6% 0.138 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a663',
    500: '#4c8121',
    950: '#000000',
  },
}
SCSS
$custom: #4c8121;
$custom-light: #83a663;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8121",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 93.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.13815,
    "h": 134.2
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#4C8121
secondary
#844AB4
accent
#45E29C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8121

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

Preview Lab → · Contrast checker → · Palette generator →

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