#4B782A#4B782A

#4B782A is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.119 H 134.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4B782A
RGBrgb(75, 120, 42)
HSLhsl(95, 48%, 32%)
HSVhsv(95, 65%, 47%)
CMYKcmyk(37.5%, 0%, 65%, 52.9%)
CIE-LABlab(45.76, -29.90, 36.96)
CIE-LCHlch(45.76, 47.54, 128.97°)
OKLaboklab(52.23% -0.0833 0.0856)
OKLCHoklch(52.23% 0.119 134.2)
XYZxyz(10.0358, 15.0955, 4.5750)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B782A #572A78
analogous
#72782A #4B782A #2A7830
triadic
#4B782A #2A4B78 #782A4B
tetradic
#4B782A #2A7278 #572A78 #78302A
square
#4B782A #2A7278 #572A78 #78302A
split-complementary
#4B782A #302A78 #782A72
monochromatic
#121D0A #2F4B1A #4B782A #67A53A #86C558

Accessibility & contrast

On white

5.22
#4B782A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4B782A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B782A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B782A#FFFFFF#000000##FFFFFF
##4B782A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#4B7368
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b782a;
/* rgb */ color: rgb(75, 120, 42);
/* oklch */ color: oklch(52.2% 0.119 134.2);
Tailwind
colors: {
  custom: {
    50: '#819f67',
    500: '#4b782a',
    950: '#000000',
  },
}
SCSS
$custom: #4b782a;
$custom-light: #819f67;
$custom-dark: #000000;
JSON
{
  "hex": "#4b782a",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 94.615,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.11939,
    "h": 134.2
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#4B782A
secondary
#8554AA
accent
#50D89E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4B782A

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

Preview Lab → · Contrast checker → · Palette generator →

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