#4B8019#4B8019

#4B8019 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.142 H 133.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4B8019
RGBrgb(75, 128, 25)
HSLhsl(91, 67%, 30%)
HSVhsv(91, 80%, 50%)
CMYKcmyk(41.4%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.26, -34.86, 46.42)
CIE-LCHlch(48.26, 58.05, 126.90°)
OKLaboklab(54.24% -0.0981 0.1029)
OKLCHoklch(54.24% 0.142 133.6)
XYZxyz(10.7961, 17.0038, 3.6327)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8019 #4E1980
analogous
#7E8019 #4B8019 #19801B
triadic
#4B8019 #194B80 #80194B
tetradic
#4B8019 #197E80 #4E1980 #801B19
square
#4B8019 #197E80 #4E1980 #801B19
split-complementary
#4B8019 #1B1980 #80197E
monochromatic
#0F1A05 #2D4D0F #4B8019 #69B323 #87D93B

Accessibility & contrast

On white

4.77
#4B8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4B8019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8019
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8019#FFFFFF#000000##FFFFFF
##4B80191.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#4B7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b8019;
/* rgb */ color: rgb(75, 128, 25);
/* oklch */ color: oklch(54.2% 0.142 133.6);
Tailwind
colors: {
  custom: {
    50: '#82a55f',
    500: '#4b8019',
    950: '#000000',
  },
}
SCSS
$custom: #4b8019;
$custom-light: #82a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8019",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 90.874,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.14216,
    "h": 133.6
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#4B8019
secondary
#7C41B4
accent
#3EEA96
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8019

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

Preview Lab → · Contrast checker → · Palette generator →

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