#4E8125#4E8125

#4E8125 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.134 H 134.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E8125
RGBrgb(78, 129, 37)
HSLhsl(93, 55%, 33%)
HSVhsv(93, 71%, 51%)
CMYKcmyk(39.5%, 0%, 71.3%, 49.4%)
CIE-LABlab(48.83, -33.38, 42.51)
CIE-LCHlch(48.83, 54.05, 128.14°)
OKLaboklab(54.76% -0.0934 0.0965)
OKLCHoklch(54.76% 0.134 134)
XYZxyz(11.3259, 17.4532, 4.5220)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8125 #582581
analogous
#7C8125 #4E8125 #25812A
triadic
#4E8125 #254E81 #81254E
tetradic
#4E8125 #257C81 #582581 #812A25
square
#4E8125 #257C81 #582581 #812A25
split-complementary
#4E8125 #2A2581 #81257C
monochromatic
#14220A #315117 #4E8125 #6BB133 #8ACE53

Accessibility & contrast

On white

4.68
#4E8125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E8125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8125
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8125#FFFFFF#000000##FFFFFF
##4E81251.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867717
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#4E7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8125;
/* rgb */ color: rgb(78, 129, 37);
/* oklch */ color: oklch(54.8% 0.134 134.0);
Tailwind
colors: {
  custom: {
    50: '#84a665',
    500: '#4e8125',
    950: '#000000',
  },
}
SCSS
$custom: #4e8125;
$custom-light: #84a665;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8125",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 93.261,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.1343,
    "h": 134
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#4E8125
secondary
#8650B2
accent
#49DF9C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8125

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

Preview Lab → · Contrast checker → · Palette generator →

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