#4E8229#4E8229

#4E8229 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.133 H 134.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4E8229
RGBrgb(78, 130, 41)
HSLhsl(95, 52%, 34%)
HSVhsv(95, 68%, 51%)
CMYKcmyk(40%, 0%, 68.5%, 49%)
CIE-LABlab(49.18, -33.49, 41.17)
CIE-LCHlch(49.18, 53.08, 129.13°)
OKLaboklab(55.07% -0.0934 0.0943)
OKLCHoklch(55.07% 0.133 134.7)
XYZxyz(11.5245, 17.7445, 4.9152)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8229 #5D2982
analogous
#7A8229 #4E8229 #298230
triadic
#4E8229 #294E82 #82294E
tetradic
#4E8229 #297A82 #5D2982 #823029
square
#4E8229 #297A82 #5D2982 #823029
split-complementary
#4E8229 #302982 #82297A
monochromatic
#16250C #32531A #4E8229 #6AB138 #89CB5A

Accessibility & contrast

On white

4.62
#4E8229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4E8229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8229
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8229#FFFFFF#000000##FFFFFF
##4E82291.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#4D7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e8229;
/* rgb */ color: rgb(78, 130, 41);
/* oklch */ color: oklch(55.1% 0.133 134.7);
Tailwind
colors: {
  custom: {
    50: '#84a767',
    500: '#4e8229',
    950: '#000000',
  },
}
SCSS
$custom: #4e8229;
$custom-light: #84a767;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8229",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 95.056,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55065,
    "c": 0.13269,
    "h": 134.7
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#4E8229
secondary
#8B56B0
accent
#4CDBA0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8229

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

Preview Lab → · Contrast checker → · Palette generator →

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