#4B8318#4B8318

#4B8318 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.0% C 0.147 H 134.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4B8318
RGBrgb(75, 131, 24)
HSLhsl(91, 69%, 30%)
HSVhsv(91, 82%, 51%)
CMYKcmyk(42.7%, 0%, 81.7%, 48.6%)
CIE-LABlab(49.24, -36.23, 47.66)
CIE-LCHlch(49.24, 59.86, 127.24°)
OKLaboklab(55.04% -0.1018 0.1054)
OKLCHoklch(55.04% 0.147 134)
XYZxyz(11.1826, 17.7938, 3.7093)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8318 #501883
analogous
#808318 #4B8318 #18831B
triadic
#4B8318 #184B83 #83184B
tetradic
#4B8318 #188083 #501883 #831B18
square
#4B8318 #188083 #501883 #831B18
split-complementary
#4B8318 #1B1883 #831880
monochromatic
#101C05 #2D4F0F #4B8318 #69B721 #87DB3A

Accessibility & contrast

On white

4.61
#4B8318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4B8318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8318
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8318#FFFFFF#000000##FFFFFF
##4B83181.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#4A7E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4b8318;
/* rgb */ color: rgb(75, 131, 24);
/* oklch */ color: oklch(55.0% 0.147 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a75f',
    500: '#4b8318',
    950: '#000000',
  },
}
SCSS
$custom: #4b8318;
$custom-light: #83a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8318",
  "rgb": {
    "r": 75,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 91.402,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55036,
    "c": 0.14651,
    "h": 134
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#4B8318
secondary
#7E40B7
accent
#3CEC98
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8318

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

Preview Lab → · Contrast checker → · Palette generator →

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