#4B8418#4B8418

#4B8418 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.3% C 0.148 H 134.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4B8418
RGBrgb(75, 132, 24)
HSLhsl(92, 69%, 31%)
HSVhsv(92, 82%, 52%)
CMYKcmyk(43.2%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.57, -36.66, 47.96)
CIE-LCHlch(49.57, 60.37, 127.39°)
OKLaboklab(55.31% -0.103 0.106)
OKLCHoklch(55.31% 0.148 134.2)
XYZxyz(11.3176, 18.0637, 3.7543)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8418 #511884
analogous
#818418 #4B8418 #18841B
triadic
#4B8418 #184B84 #84184B
tetradic
#4B8418 #188184 #511884 #841B18
square
#4B8418 #188184 #511884 #841B18
split-complementary
#4B8418 #1B1884 #841881
monochromatic
#101C05 #2E500F #4B8418 #68B821 #87DB3B

Accessibility & contrast

On white

4.55
#4B8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4B8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8418
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8418#FFFFFF#000000##000000
##4B84181.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#4A7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4b8418;
/* rgb */ color: rgb(75, 132, 24);
/* oklch */ color: oklch(55.3% 0.148 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a85f',
    500: '#4b8418',
    950: '#000000',
  },
}
SCSS
$custom: #4b8418;
$custom-light: #83a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8418",
  "rgb": {
    "r": 75,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 91.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.14779,
    "h": 134.2
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#4B8418
secondary
#7F40B8
accent
#3CEC99
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8418

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

Preview Lab → · Contrast checker → · Palette generator →

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