#4B7930#4B7930

#4B7930 is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.115 H 135.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4B7930
RGBrgb(75, 121, 48)
HSLhsl(98, 43%, 33%)
HSVhsv(98, 60%, 47%)
CMYKcmyk(38%, 0%, 60.3%, 52.5%)
CIE-LABlab(46.16, -29.74, 34.49)
CIE-LCHlch(46.16, 45.54, 130.77°)
OKLaboklab(52.57% -0.0824 0.0809)
OKLCHoklch(52.57% 0.115 135.5)
XYZxyz(10.2723, 15.3835, 5.2238)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7930 #5E3079
analogous
#6F7930 #4B7930 #307939
triadic
#4B7930 #304B79 #79304B
tetradic
#4B7930 #306F79 #5E3079 #793930
square
#4B7930 #306F79 #5E3079 #793930
split-complementary
#4B7930 #393079 #79306F
monochromatic
#15210D #304D1F #4B7930 #66A541 #85C162

Accessibility & contrast

On white

5.15
#4B7930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4B7930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7930
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7930#FFFFFF#000000##FFFFFF
##4B79301.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b7930;
/* rgb */ color: rgb(75, 121, 48);
/* oklch */ color: oklch(52.6% 0.115 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a06b',
    500: '#4b7930',
    950: '#000000',
  },
}
SCSS
$custom: #4b7930;
$custom-light: #80a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7930",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 97.808,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52571,
    "c": 0.11548,
    "h": 135.5
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#4B7930
secondary
#8C5DA8
accent
#55D3A4
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4B7930

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

Preview Lab → · Contrast checker → · Palette generator →

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