#4D7930#4D7930

#4D7930 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.114 H 134.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4D7930
RGBrgb(77, 121, 48)
HSLhsl(96, 43%, 33%)
HSVhsv(96, 60%, 47%)
CMYKcmyk(36.4%, 0%, 60.3%, 52.5%)
CIE-LABlab(46.27, -29.00, 34.65)
CIE-LCHlch(46.27, 45.18, 129.93°)
OKLaboklab(52.69% -0.0804 0.0813)
OKLCHoklch(52.69% 0.114 134.7)
XYZxyz(10.4312, 15.4655, 5.2313)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7930 #5C3079
analogous
#717930 #4D7930 #307937
triadic
#4D7930 #304D79 #79304D
tetradic
#4D7930 #307179 #5C3079 #793730
square
#4D7930 #307179 #5C3079 #793730
split-complementary
#4D7930 #373079 #793071
monochromatic
#15210D #314D1F #4D7930 #69A541 #88C162

Accessibility & contrast

On white

5.13
#4D7930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4D7930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7930
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7930#FFFFFF#000000##FFFFFF
##4D79301.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7028
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#4C7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7930;
/* rgb */ color: rgb(77, 121, 48);
/* oklch */ color: oklch(52.7% 0.114 134.7);
Tailwind
colors: {
  custom: {
    50: '#82a06b',
    500: '#4d7930',
    950: '#000000',
  },
}
SCSS
$custom: #4d7930;
$custom-light: #82a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7930",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 96.164,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.11433,
    "h": 134.7
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#4D7930
secondary
#8A5DA8
accent
#55D3A1
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4D7930

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

Preview Lab → · Contrast checker → · Palette generator →

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