#4A792B#4A792B

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

Color values

HEX#4A792B
RGBrgb(74, 121, 43)
HSLhsl(96, 48%, 32%)
HSVhsv(96, 64%, 47%)
CMYKcmyk(38.8%, 0%, 64.5%, 52.5%)
CIE-LABlab(46.05, -30.65, 36.79)
CIE-LCHlch(46.05, 47.88, 129.80°)
OKLaboklab(52.45% -0.0852 0.0853)
OKLCHoklch(52.45% 0.121 134.9)
XYZxyz(10.0972, 15.3045, 4.7071)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A792B #5A2B79
analogous
#71792B #4A792B #2B7933
triadic
#4A792B #2B4A79 #792B4A
tetradic
#4A792B #2B7179 #5A2B79 #79332B
square
#4A792B #2B7179 #5A2B79 #79332B
split-complementary
#4A792B #332B79 #792B71
monochromatic
#131F0B #2E4C1B #4A792B #66A63B #84C45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A792B#FFFFFF#000000##FFFFFF
##4A792B1.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)
#7D7022
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#497469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a792b;
/* rgb */ color: rgb(74, 121, 43);
/* oklch */ color: oklch(52.5% 0.121 134.9);
Tailwind
colors: {
  custom: {
    50: '#80a068',
    500: '#4a792b',
    950: '#000000',
  },
}
SCSS
$custom: #4a792b;
$custom-light: #80a068;
$custom-dark: #000000;
JSON
{
  "hex": "#4a792b",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 96.154,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.12055,
    "h": 134.9
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#4A792B
secondary
#8956AA
accent
#51D7A2
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A792B

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

Preview Lab → · Contrast checker → · Palette generator →

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