#4D8124#4D8124

#4D8124 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.136 H 134.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4D8124
RGBrgb(77, 129, 36)
HSLhsl(94, 56%, 32%)
HSVhsv(94, 72%, 51%)
CMYKcmyk(40.3%, 0%, 72.1%, 49.4%)
CIE-LABlab(48.77, -33.82, 42.84)
CIE-LCHlch(48.77, 54.59, 128.29°)
OKLaboklab(54.7% -0.0946 0.0971)
OKLCHoklch(54.7% 0.136 134.2)
XYZxyz(11.2290, 17.4051, 4.4366)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8124 #582481
analogous
#7C8124 #4D8124 #248129
triadic
#4D8124 #244D81 #81244D
tetradic
#4D8124 #247C81 #582481 #812924
square
#4D8124 #247C81 #582481 #812924
split-complementary
#4D8124 #292481 #81247C
monochromatic
#142109 #305117 #4D8124 #6AB131 #88CE51

Accessibility & contrast

On white

4.69
#4D8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4D8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8124
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8124#FFFFFF#000000##FFFFFF
##4D81241.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867715
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#4C7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d8124;
/* rgb */ color: rgb(77, 129, 36);
/* oklch */ color: oklch(54.7% 0.136 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a665',
    500: '#4d8124',
    950: '#000000',
  },
}
SCSS
$custom: #4d8124;
$custom-light: #83a665;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8124",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 93.548,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.13556,
    "h": 134.2
  },
  "luminance": 0.17406
}

Semantic roles & 50–950 ramp

primary
#4D8124
secondary
#864EB2
accent
#48E09D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D8124

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

Preview Lab → · Contrast checker → · Palette generator →

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