#4B8018#4B8018

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

Color values

HEX#4B8018
RGBrgb(75, 128, 24)
HSLhsl(91, 68%, 30%)
HSVhsv(91, 81%, 50%)
CMYKcmyk(41.4%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.26, -34.91, 46.74)
CIE-LCHlch(48.26, 58.34, 126.76°)
OKLaboklab(54.23% -0.0983 0.1034)
OKLCHoklch(54.23% 0.143 133.5)
XYZxyz(10.7855, 16.9996, 3.5769)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8018 #4D1880
analogous
#7F8018 #4B8018 #188019
triadic
#4B8018 #184B80 #80184B
tetradic
#4B8018 #187F80 #4D1880 #801918
square
#4B8018 #187F80 #4D1880 #801918
split-complementary
#4B8018 #191880 #80187F
monochromatic
#0F1A05 #2D4C0E #4B8018 #69B422 #88DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B8018#FFFFFF#000000##FFFFFF
##4B80181.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: #4b8018;
/* rgb */ color: rgb(75, 128, 24);
/* oklch */ color: oklch(54.2% 0.143 133.5);
Tailwind
colors: {
  custom: {
    50: '#82a55f',
    500: '#4b8018',
    950: '#000000',
  },
}
SCSS
$custom: #4b8018;
$custom-light: #82a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8018",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 90.577,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.14268,
    "h": 133.5
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#4B8018
secondary
#7B40B4
accent
#3DEB96
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8018

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

Preview Lab → · Contrast checker → · Palette generator →

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