#4E8526#4E8526

#4E8526 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.139 H 134.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4E8526
RGBrgb(78, 133, 38)
HSLhsl(95, 56%, 34%)
HSVhsv(95, 71%, 52%)
CMYKcmyk(41.4%, 0%, 71.4%, 47.8%)
CIE-LABlab(50.14, -35.09, 43.45)
CIE-LCHlch(50.14, 55.85, 128.92°)
OKLaboklab(55.84% -0.0979 0.0987)
OKLCHoklch(55.84% 0.139 134.8)
XYZxyz(11.8790, 18.5341, 4.7849)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8526 #5D2685
analogous
#7D8526 #4E8526 #26852D
triadic
#4E8526 #264E85 #85264E
tetradic
#4E8526 #267D85 #5D2685 #852D26
square
#4E8526 #267D85 #5D2685 #852D26
split-complementary
#4E8526 #2D2685 #85267D
monochromatic
#16260B #325518 #4E8526 #6AB534 #89CF57

Accessibility & contrast

On white

4.46
#4E8526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4E8526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8526
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8526#FFFFFF#000000##000000
##4E85261.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#4D8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e8526;
/* rgb */ color: rgb(78, 133, 38);
/* oklch */ color: oklch(55.8% 0.139 134.8);
Tailwind
colors: {
  custom: {
    50: '#84a966',
    500: '#4e8526',
    950: '#000000',
  },
}
SCSS
$custom: #4e8526;
$custom-light: #84a966;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8526",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 94.737,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.13901,
    "h": 134.8
  },
  "luminance": 0.18535
}

Semantic roles & 50–950 ramp

primary
#4E8526
secondary
#8B53B3
accent
#49DFA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8526

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

Preview Lab → · Contrast checker → · Palette generator →

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