#4A791C#4A791C

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

Color values

HEX#4A791C
RGBrgb(74, 121, 28)
HSLhsl(90, 62%, 29%)
HSVhsv(90, 77%, 47%)
CMYKcmyk(38.8%, 0%, 76.9%, 52.5%)
CIE-LABlab(45.93, -31.90, 43.09)
CIE-LCHlch(45.93, 53.61, 126.51°)
OKLaboklab(52.31% -0.0898 0.0964)
OKLCHoklch(52.31% 0.132 133)
XYZxyz(9.8709, 15.2140, 3.5149)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A791C #4B1C79
analogous
#79791C #4A791C #1C791D
triadic
#4A791C #1C4A79 #791C4A
tetradic
#4A791C #1C7979 #4B1C79 #791D1C
square
#4A791C #1C7979 #4B1C79 #791D1C
split-complementary
#4A791C #1D1C79 #791C79
monochromatic
#0F1906 #2C4710 #4A791C #68AB28 #87D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A791C#FFFFFF#000000##FFFFFF
##4A791C1.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)
#7E6F09
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#4A7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a791c;
/* rgb */ color: rgb(74, 121, 28);
/* oklch */ color: oklch(52.3% 0.132 133.0);
Tailwind
colors: {
  custom: {
    50: '#81a05f',
    500: '#4a791c',
    950: '#000000',
  },
}
SCSS
$custom: #4a791c;
$custom-light: #81a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a791c",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 90.323,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.13177,
    "h": 133
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#4A791C
secondary
#7944AD
accent
#42E595
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A791C

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

Preview Lab → · Contrast checker → · Palette generator →

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