#4B791E#4B791E

#4B791E is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.130 H 132.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4B791E
RGBrgb(75, 121, 30)
HSLhsl(90, 60%, 30%)
HSVhsv(90, 75%, 47%)
CMYKcmyk(38%, 0%, 75.2%, 52.5%)
CIE-LABlab(45.99, -31.38, 42.41)
CIE-LCHlch(45.99, 52.75, 126.50°)
OKLaboklab(52.39% -0.0883 0.0953)
OKLCHoklch(52.39% 0.13 132.8)
XYZxyz(9.9732, 15.2639, 3.6488)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B791E #4C1E79
analogous
#79791E #4B791E #1E791F
triadic
#4B791E #1E4B79 #791E4B
tetradic
#4B791E #1E7979 #4C1E79 #791F1E
square
#4B791E #1E7979 #4C1E79 #791F1E
split-complementary
#4B791E #1F1E79 #791E79
monochromatic
#0F1906 #2D4812 #4B791E #69AA2A #88D041

Accessibility & contrast

On white

5.18
#4B791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B791E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B791E#FFFFFF#000000##FFFFFF
##4B791E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b791e;
/* rgb */ color: rgb(75, 121, 30);
/* oklch */ color: oklch(52.4% 0.130 132.8);
Tailwind
colors: {
  custom: {
    50: '#81a060',
    500: '#4b791e',
    950: '#000000',
  },
}
SCSS
$custom: #4b791e;
$custom-light: #81a060;
$custom-dark: #000000;
JSON
{
  "hex": "#4b791e",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 90.33,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.12993,
    "h": 132.8
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#4B791E
secondary
#7A46AD
accent
#44E395
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B791E

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

Preview Lab → · Contrast checker → · Palette generator →

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