#4E9D12#4E9D12

#4E9D12 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.1% C 0.179 H 136.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4E9D12
RGBrgb(78, 157, 18)
HSLhsl(94, 79%, 34%)
HSVhsv(94, 89%, 62%)
CMYKcmyk(50.3%, 0%, 88.5%, 38.4%)
CIE-LABlab(57.82, -46.17, 56.92)
CIE-LCHlch(57.82, 73.29, 129.05°)
OKLaboklab(62.11% -0.129 0.124)
OKLCHoklch(62.11% 0.179 136.1)
XYZxyz(15.3076, 25.7762, 4.7408)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9D12 #61129D
analogous
#949D12 #4E9D12 #129D1C
triadic
#4E9D12 #124E9D #9D124E
tetradic
#4E9D12 #12949D #61129D #9D1C12
square
#4E9D12 #12949D #61129D #9D1C12
split-complementary
#4E9D12 #1C129D #9D1294
monochromatic
#172F05 #33660C #4E9D12 #69D418 #89E940

Accessibility & contrast

On white

3.41
#4E9D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4E9D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9D12
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9D12#FFFFFF#000000##000000
##4E9D121.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#4A9785
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4e9d12;
/* rgb */ color: rgb(78, 157, 18);
/* oklch */ color: oklch(62.1% 0.179 136.1);
Tailwind
colors: {
  custom: {
    50: '#88ba61',
    500: '#4e9d12',
    950: '#000000',
  },
}
SCSS
$custom: #4e9d12;
$custom-light: #88ba61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9d12",
  "rgb": {
    "r": 78,
    "g": 157,
    "b": 18
  },
  "hsl": {
    "h": 94.101,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.1789,
    "h": 136.1
  },
  "luminance": 0.25777
}

Semantic roles & 50–950 ramp

primary
#4E9D12
secondary
#8F42C9
accent
#32F6A1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4E9D12

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

Preview Lab → · Contrast checker → · Palette generator →

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