#4C5E12#4C5E12

#4C5E12 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.1% C 0.100 H 122.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4C5E12
RGBrgb(76, 94, 18)
HSLhsl(74, 68%, 22%)
HSVhsv(74, 81%, 37%)
CMYKcmyk(19.1%, 0%, 80.9%, 63.1%)
CIE-LABlab(37.09, -18.33, 38.34)
CIE-LCHlch(37.09, 42.49, 115.55°)
OKLaboklab(45.14% -0.0538 0.0847)
OKLCHoklch(45.14% 0.1 122.4)
XYZxyz(7.0925, 9.5856, 2.0487)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5E12 #24125E
analogous
#5E4A12 #4C5E12 #265E12
triadic
#4C5E12 #124C5E #5E124C
tetradic
#4C5E12 #125E4A #24125E #5E1226
square
#4C5E12 #125E4A #24125E #5E1226
split-complementary
#4C5E12 #12265E #4A125E
monochromatic
#151A05 #222B08 #4C5E12 #76911C #9FC526

Accessibility & contrast

On white

7.20
#4C5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4C5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5E12
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5E12#FFFFFF#000000##FFFFFF
##4C5E121.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#505950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c5e12;
/* rgb */ color: rgb(76, 94, 18);
/* oklch */ color: oklch(45.1% 0.100 122.4);
Tailwind
colors: {
  custom: {
    50: '#818b57',
    500: '#4c5e12',
    950: '#000000',
  },
}
SCSS
$custom: #4c5e12;
$custom-light: #818b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5e12",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 74.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.10035,
    "h": 122.4
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#4C5E12
secondary
#4C3596
accent
#3DEB66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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