#4E9C1C#4E9C1C

#4E9C1C is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 61.9% C 0.174 H 136.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4E9C1C
RGBrgb(78, 156, 28)
HSLhsl(97, 70%, 36%)
HSVhsv(97, 82%, 61%)
CMYKcmyk(50%, 0%, 82.1%, 38.8%)
CIE-LABlab(57.54, -45.35, 54.17)
CIE-LCHlch(57.54, 70.64, 129.94°)
OKLaboklab(61.89% -0.1263 0.1196)
OKLCHoklch(61.89% 0.174 136.6)
XYZxyz(15.2395, 25.4794, 5.2134)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9C1C #6A1C9C
analogous
#8E9C1C #4E9C1C #1C9C2A
triadic
#4E9C1C #1C4E9C #9C1C4E
tetradic
#4E9C1C #1C8E9C #6A1C9C #9C2A1C
square
#4E9C1C #1C8E9C #6A1C9C #9C2A1C
split-complementary
#4E9C1C #2A1C9C #9C1C8E
monochromatic
#1A3409 #346813 #4E9C1C #68D025 #8AE052

Accessibility & contrast

On white

3.44
#4E9C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#4E9C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9C1C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9C1C#FFFFFF#000000##000000
##4E9C1C1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#4A9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4e9c1c;
/* rgb */ color: rgb(78, 156, 28);
/* oklch */ color: oklch(61.9% 0.174 136.6);
Tailwind
colors: {
  custom: {
    50: '#88ba64',
    500: '#4e9c1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e9c1c;
$custom-light: #88ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9c1c",
  "rgb": {
    "r": 78,
    "g": 156,
    "b": 28
  },
  "hsl": {
    "h": 96.563,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.17391,
    "h": 136.6
  },
  "luminance": 0.2548
}

Semantic roles & 50–950 ramp

primary
#4E9C1C
secondary
#9651C3
accent
#3BECA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4E9C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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