#4B791B#4B791B

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

Color values

HEX#4B791B
RGBrgb(75, 121, 27)
HSLhsl(89, 64%, 29%)
HSVhsv(89, 78%, 47%)
CMYKcmyk(38%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.97, -31.58, 43.52)
CIE-LCHlch(45.97, 53.78, 125.97°)
OKLaboklab(52.36% -0.0891 0.0972)
OKLCHoklch(52.36% 0.132 132.5)
XYZxyz(9.9367, 15.2493, 3.4565)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B791B #491B79
analogous
#79781B #4B791B #1C791B
triadic
#4B791B #1B4B79 #791B4B
tetradic
#4B791B #1B7978 #491B79 #791B1C
square
#4B791B #1B7978 #491B79 #791B1C
split-complementary
#4B791B #1B1C79 #781B79
monochromatic
#101906 #2C4710 #4B791B #6AAB26 #89D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B791B#FFFFFF#000000##FFFFFF
##4B791B1.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)
#7E6F07
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#4C7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b791b;
/* rgb */ color: rgb(75, 121, 27);
/* oklch */ color: oklch(52.4% 0.132 132.5);
Tailwind
colors: {
  custom: {
    50: '#82a05f',
    500: '#4b791b',
    950: '#000000',
  },
}
SCSS
$custom: #4b791b;
$custom-light: #82a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b791b",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 89.362,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.13184,
    "h": 132.5
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#4B791B
secondary
#7743AD
accent
#41E792
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B791B

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

Preview Lab → · Contrast checker → · Palette generator →

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