#4A7A2E#4A7A2E

#4A7A2E is a mid, moderate yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.119 H 135.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4A7A2E
RGBrgb(74, 122, 46)
HSLhsl(98, 45%, 33%)
HSVhsv(98, 62%, 48%)
CMYKcmyk(39.3%, 0%, 62.3%, 52.2%)
CIE-LABlab(46.41, -30.80, 35.75)
CIE-LCHlch(46.41, 47.19, 130.75°)
OKLaboklab(52.76% -0.0853 0.0835)
OKLCHoklch(52.76% 0.119 135.6)
XYZxyz(10.2765, 15.5717, 5.0484)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7A2E #5E2E7A
analogous
#707A2E #4A7A2E #2E7A38
triadic
#4A7A2E #2E4A7A #7A2E4A
tetradic
#4A7A2E #2E707A #5E2E7A #7A382E
square
#4A7A2E #2E707A #5E2E7A #7A382E
split-complementary
#4A7A2E #382E7A #7A2E70
monochromatic
#14210C #2F4E1D #4A7A2E #65A63F #84C360

Accessibility & contrast

On white

5.10
#4A7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4A7A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7A2E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7A2E#FFFFFF#000000##FFFFFF
##4A7A2E1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#786C34
Tritanopia (blue-blind)
#49766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a7a2e;
/* rgb */ color: rgb(74, 122, 46);
/* oklch */ color: oklch(52.8% 0.119 135.6);
Tailwind
colors: {
  custom: {
    50: '#80a16a',
    500: '#4a7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #4a7a2e;
$custom-light: #80a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7a2e",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 97.895,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.11936,
    "h": 135.6
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#4A7A2E
secondary
#8C5AAA
accent
#53D5A5
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #4A7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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