#4A792D#4A792D

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

Color values

HEX#4A792D
RGBrgb(74, 121, 45)
HSLhsl(97, 46%, 33%)
HSVhsv(97, 63%, 47%)
CMYKcmyk(38.8%, 0%, 62.8%, 52.5%)
CIE-LABlab(46.07, -30.44, 35.85)
CIE-LCHlch(46.07, 47.03, 130.33°)
OKLaboklab(52.48% -0.0844 0.0836)
OKLCHoklch(52.48% 0.119 135.3)
XYZxyz(10.1348, 15.3196, 4.9051)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A792D #5C2D79
analogous
#70792D #4A792D #2D7936
triadic
#4A792D #2D4A79 #792D4A
tetradic
#4A792D #2D7079 #5C2D79 #79362D
square
#4A792D #2D7079 #5C2D79 #79362D
split-complementary
#4A792D #362D79 #792D70
monochromatic
#13200C #2F4C1C #4A792D #65A63E #84C35D

Accessibility & contrast

On white

5.17
#4A792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4A792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A792D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A792D#FFFFFF#000000##FFFFFF
##4A792D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a792d;
/* rgb */ color: rgb(74, 121, 45);
/* oklch */ color: oklch(52.5% 0.119 135.3);
Tailwind
colors: {
  custom: {
    50: '#80a069',
    500: '#4a792d',
    950: '#000000',
  },
}
SCSS
$custom: #4a792d;
$custom-light: #80a069;
$custom-dark: #000000;
JSON
{
  "hex": "#4a792d",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 97.105,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.11879,
    "h": 135.3
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#4A792D
secondary
#8A58A9
accent
#52D5A3
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A792D

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

Preview Lab → · Contrast checker → · Palette generator →

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