#4A792F#4A792F

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

Color values

HEX#4A792F
RGBrgb(74, 121, 47)
HSLhsl(98, 44%, 33%)
HSVhsv(98, 61%, 47%)
CMYKcmyk(38.8%, 0%, 61.2%, 52.5%)
CIE-LABlab(46.09, -30.22, 34.90)
CIE-LCHlch(46.09, 46.17, 130.89°)
OKLaboklab(52.5% -0.0837 0.0817)
OKLCHoklch(52.5% 0.117 135.7)
XYZxyz(10.1743, 15.3353, 5.1127)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A792F #5E2F79
analogous
#6F792F #4A792F #2F7939
triadic
#4A792F #2F4A79 #792F4A
tetradic
#4A792F #2F6F79 #5E2F79 #79392F
square
#4A792F #2F6F79 #5E2F79 #79392F
split-complementary
#4A792F #392F79 #792F6F
monochromatic
#14210D #2F4D1E #4A792F #65A540 #84C261

Accessibility & contrast

On white

5.16
#4A792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4A792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A792F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A792F#FFFFFF#000000##FFFFFF
##4A792F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7027
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#497569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a792f;
/* rgb */ color: rgb(74, 121, 47);
/* oklch */ color: oklch(52.5% 0.117 135.7);
Tailwind
colors: {
  custom: {
    50: '#80a06a',
    500: '#4a792f',
    950: '#000000',
  },
}
SCSS
$custom: #4a792f;
$custom-light: #80a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a792f",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 98.108,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.525,
    "c": 0.11698,
    "h": 135.7
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#4A792F
secondary
#8C5BA8
accent
#54D4A5
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4A792F

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

Preview Lab → · Contrast checker → · Palette generator →

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