#4B791C#4B791C

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

Color values

HEX#4B791C
RGBrgb(75, 121, 28)
HSLhsl(90, 62%, 29%)
HSVhsv(90, 77%, 47%)
CMYKcmyk(38%, 0%, 76.9%, 52.5%)
CIE-LABlab(45.98, -31.52, 43.16)
CIE-LCHlch(45.98, 53.44, 126.14°)
OKLaboklab(52.37% -0.0888 0.0966)
OKLCHoklch(52.37% 0.131 132.6)
XYZxyz(9.9485, 15.2540, 3.5185)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B791C #4A1C79
analogous
#79791C #4B791C #1D791C
triadic
#4B791C #1C4B79 #791C4B
tetradic
#4B791C #1C7979 #4A1C79 #791C1D
square
#4B791C #1C7979 #4A1C79 #791C1D
split-complementary
#4B791C #1C1D79 #791C79
monochromatic
#0F1906 #2C4710 #4B791C #6AAB28 #89D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B791C#FFFFFF#000000##FFFFFF
##4B791C1.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)
#7E6F09
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#4C7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b791c;
/* rgb */ color: rgb(75, 121, 28);
/* oklch */ color: oklch(52.4% 0.131 132.6);
Tailwind
colors: {
  custom: {
    50: '#82a05f',
    500: '#4b791c',
    950: '#000000',
  },
}
SCSS
$custom: #4b791c;
$custom-light: #82a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b791c",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 89.677,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.13121,
    "h": 132.6
  },
  "luminance": 0.15254
}

Semantic roles & 50–950 ramp

primary
#4B791C
secondary
#7844AD
accent
#42E593
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B791C

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

Preview Lab → · Contrast checker → · Palette generator →

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