#4A791E#4A791E

#4A791E is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.130 H 133.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4A791E
RGBrgb(74, 121, 30)
HSLhsl(91, 60%, 30%)
HSVhsv(91, 75%, 47%)
CMYKcmyk(38.8%, 0%, 75.2%, 52.5%)
CIE-LABlab(45.94, -31.76, 42.33)
CIE-LCHlch(45.94, 52.92, 126.88°)
OKLaboklab(52.33% -0.0893 0.0952)
OKLCHoklch(52.33% 0.13 133.2)
XYZxyz(9.8956, 15.2239, 3.6451)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A791E #4D1E79
analogous
#78791E #4A791E #1E7920
triadic
#4A791E #1E4A79 #791E4A
tetradic
#4A791E #1E7879 #4D1E79 #79201E
square
#4A791E #1E7879 #4D1E79 #79201E
split-complementary
#4A791E #201E79 #791E78
monochromatic
#0F1906 #2C4812 #4A791E #68AA2A #86D041

Accessibility & contrast

On white

5.19
#4A791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4A791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A791E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A791E#FFFFFF#000000##FFFFFF
##4A791E1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#4A7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a791e;
/* rgb */ color: rgb(74, 121, 30);
/* oklch */ color: oklch(52.3% 0.130 133.2);
Tailwind
colors: {
  custom: {
    50: '#81a060',
    500: '#4a791e',
    950: '#000000',
  },
}
SCSS
$custom: #4a791e;
$custom-light: #81a060;
$custom-dark: #000000;
JSON
{
  "hex": "#4a791e",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 90.989,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52329,
    "c": 0.13049,
    "h": 133.2
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#4A791E
secondary
#7B46AD
accent
#44E397
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A791E

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

Preview Lab → · Contrast checker → · Palette generator →

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