#4B7916#4B7916

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

Color values

HEX#4B7916
RGBrgb(75, 121, 22)
HSLhsl(88, 69%, 28%)
HSVhsv(88, 82%, 47%)
CMYKcmyk(38%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.95, -31.88, 45.23)
CIE-LCHlch(45.95, 55.33, 125.18°)
OKLaboklab(52.33% -0.0902 0.0999)
OKLCHoklch(52.33% 0.135 132.1)
XYZxyz(9.8837, 15.2281, 3.1775)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7916 #441679
analogous
#797516 #4B7916 #197916
triadic
#4B7916 #164B79 #79164B
tetradic
#4B7916 #167975 #441679 #791619
square
#4B7916 #167975 #441679 #791619
split-complementary
#4B7916 #161979 #751679
monochromatic
#101A05 #2B450D #4B7916 #6BAD1F #8BD930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7916#FFFFFF#000000##FFFFFF
##4B79161.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)
#7E6F00
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#4C7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b7916;
/* rgb */ color: rgb(75, 121, 22);
/* oklch */ color: oklch(52.3% 0.135 132.1);
Tailwind
colors: {
  custom: {
    50: '#82a05d',
    500: '#4b7916',
    950: '#000000',
  },
}
SCSS
$custom: #4b7916;
$custom-light: #82a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7916",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 87.879,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.13465,
    "h": 132.1
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#4B7916
secondary
#713DAE
accent
#3CEC8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7916

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

Preview Lab → · Contrast checker → · Palette generator →

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