#4B791A#4B791A

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

Color values

HEX#4B791A
RGBrgb(75, 121, 26)
HSLhsl(89, 65%, 29%)
HSVhsv(89, 79%, 47%)
CMYKcmyk(38%, 0%, 78.5%, 52.5%)
CIE-LABlab(45.97, -31.65, 43.88)
CIE-LCHlch(45.97, 54.10, 125.80°)
OKLaboklab(52.36% -0.0893 0.0978)
OKLCHoklch(52.36% 0.132 132.4)
XYZxyz(9.9254, 15.2448, 3.3967)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B791A #481A79
analogous
#79781A #4B791A #1B791A
triadic
#4B791A #1A4B79 #791A4B
tetradic
#4B791A #1A7978 #481A79 #791A1B
square
#4B791A #1A7978 #481A79 #791A1B
split-complementary
#4B791A #1A1B79 #781A79
monochromatic
#101905 #2C470F #4B791A #6AAB25 #89D439

Accessibility & contrast

On white

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

On black

4.05
#4B791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4B791A#FFFFFF#000000##FFFFFF
##4B791A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F05
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#4C7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b791a;
/* rgb */ color: rgb(75, 121, 26);
/* oklch */ color: oklch(52.4% 0.132 132.4);
Tailwind
colors: {
  custom: {
    50: '#82a05e',
    500: '#4b791a',
    950: '#000000',
  },
}
SCSS
$custom: #4b791a;
$custom-light: #82a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b791a",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 89.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.13243,
    "h": 132.4
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#4B791A
secondary
#7641AD
accent
#40E891
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B791A

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

Preview Lab → · Contrast checker → · Palette generator →

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