#4C8C14#4C8C14

#4C8C14 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.159 H 134.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4C8C14
RGBrgb(76, 140, 20)
HSLhsl(92, 75%, 31%)
HSVhsv(92, 86%, 55%)
CMYKcmyk(45.7%, 0%, 85.7%, 45.1%)
CIE-LABlab(52.22, -39.90, 51.53)
CIE-LCHlch(52.22, 65.17, 127.75°)
OKLaboklab(57.49% -0.112 0.1129)
OKLCHoklch(57.49% 0.159 134.8)
XYZxyz(12.4846, 20.3424, 3.9303)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8C14 #54148C
analogous
#888C14 #4C8C14 #148C18
triadic
#4C8C14 #144C8C #8C144C
tetradic
#4C8C14 #14888C #54148C #8C1814
square
#4C8C14 #14888C #54148C #8C1814
split-complementary
#4C8C14 #18148C #8C1488
monochromatic
#122105 #2F560C #4C8C14 #69C21C #88E338

Accessibility & contrast

On white

4.14
#4C8C14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4C8C14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8C14
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8C14#FFFFFF#000000##000000
##4C8C141.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#4A8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8c14;
/* rgb */ color: rgb(76, 140, 20);
/* oklch */ color: oklch(57.5% 0.159 134.8);
Tailwind
colors: {
  custom: {
    50: '#85ae5f',
    500: '#4c8c14',
    950: '#000000',
  },
}
SCSS
$custom: #4c8c14;
$custom-light: #85ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8c14",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 20
  },
  "hsl": {
    "h": 92,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.15899,
    "h": 134.8
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#4C8C14
secondary
#823CC0
accent
#36F29A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8C14

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

Preview Lab → · Contrast checker → · Palette generator →

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