#4F782A#4F782A

#4F782A is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.117 H 132.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F782A
RGBrgb(79, 120, 42)
HSLhsl(92, 48%, 32%)
HSVhsv(92, 65%, 47%)
CMYKcmyk(34.2%, 0%, 65%, 52.9%)
CIE-LABlab(45.99, -28.37, 37.27)
CIE-LCHlch(45.99, 46.84, 127.28°)
OKLaboklab(52.48% -0.0793 0.0862)
OKLCHoklch(52.48% 0.117 132.6)
XYZxyz(10.3587, 15.2620, 4.5901)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F782A #532A78
analogous
#76782A #4F782A #2A782C
triadic
#4F782A #2A4F78 #782A4F
tetradic
#4F782A #2A7678 #532A78 #782C2A
square
#4F782A #2A7678 #532A78 #782C2A
split-complementary
#4F782A #2C2A78 #782A76
monochromatic
#131D0A #314B1A #4F782A #6DA53A #8BC558

Accessibility & contrast

On white

5.18
#4F782A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4F782A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F782A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F782A#FFFFFF#000000##FFFFFF
##4F782A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#507368
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f782a;
/* rgb */ color: rgb(79, 120, 42);
/* oklch */ color: oklch(52.5% 0.117 132.6);
Tailwind
colors: {
  custom: {
    50: '#839f67',
    500: '#4f782a',
    950: '#000000',
  },
}
SCSS
$custom: #4f782a;
$custom-light: #839f67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f782a",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 91.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.11713,
    "h": 132.6
  },
  "luminance": 0.15262
}

Semantic roles & 50–950 ramp

primary
#4F782A
secondary
#8154AA
accent
#50D897
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F782A

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

Preview Lab → · Contrast checker → · Palette generator →

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