#4D8D26#4D8D26

#4D8D26 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.150 H 136.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4D8D26
RGBrgb(77, 141, 38)
HSLhsl(97, 58%, 35%)
HSVhsv(97, 73%, 55%)
CMYKcmyk(45.4%, 0%, 73%, 44.7%)
CIE-LABlab(52.69, -38.91, 46.06)
CIE-LCHlch(52.69, 60.29, 130.19°)
OKLaboklab(57.92% -0.1082 0.1041)
OKLCHoklch(57.92% 0.15 136.1)
XYZxyz(12.9350, 20.7667, 5.1601)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D26 #66268D
analogous
#808D26 #4D8D26 #268D33
triadic
#4D8D26 #264D8D #8D264D
tetradic
#4D8D26 #26808D #66268D #8D3326
square
#4D8D26 #26808D #66268D #8D3326
split-complementary
#4D8D26 #33268D #8D2680
monochromatic
#182D0C #335D19 #4D8D26 #67BD33 #88D35B

Accessibility & contrast

On white

4.07
#4D8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4D8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8D26
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8D26#FFFFFF#000000##000000
##4D8D261.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928115
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d26;
/* rgb */ color: rgb(77, 141, 38);
/* oklch */ color: oklch(57.9% 0.150 136.1);
Tailwind
colors: {
  custom: {
    50: '#85af67',
    500: '#4d8d26',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d26;
$custom-light: #85af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d26",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 97.282,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.15017,
    "h": 136.1
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#4D8D26
secondary
#9357B8
accent
#47E1A7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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