#4B8818#4B8818

#4B8818 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.4% C 0.153 H 134.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4B8818
RGBrgb(75, 136, 24)
HSLhsl(93, 70%, 31%)
HSVhsv(93, 82%, 53%)
CMYKcmyk(44.9%, 0%, 82.4%, 46.7%)
CIE-LABlab(50.88, -38.37, 49.17)
CIE-LCHlch(50.88, 62.37, 127.96°)
OKLaboklab(56.38% -0.1076 0.1085)
OKLCHoklch(56.38% 0.153 134.7)
XYZxyz(11.8704, 19.1694, 3.9386)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8818 #551888
analogous
#838818 #4B8818 #18881D
triadic
#4B8818 #184B88 #88184B
tetradic
#4B8818 #188388 #551888 #881D18
square
#4B8818 #188388 #551888 #881D18
split-complementary
#4B8818 #1D1888 #881883
monochromatic
#122006 #2E540F #4B8818 #68BC21 #86DD3E

Accessibility & contrast

On white

4.34
#4B8818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4B8818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8818
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8818#FFFFFF#000000##000000
##4B88181.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#4A8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4b8818;
/* rgb */ color: rgb(75, 136, 24);
/* oklch */ color: oklch(56.4% 0.153 134.7);
Tailwind
colors: {
  custom: {
    50: '#83ab60',
    500: '#4b8818',
    950: '#000000',
  },
}
SCSS
$custom: #4b8818;
$custom-light: #83ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8818",
  "rgb": {
    "r": 75,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 92.679,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.15282,
    "h": 134.7
  },
  "luminance": 0.1917
}

Semantic roles & 50–950 ramp

primary
#4B8818
secondary
#8340BC
accent
#3BED9C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8818

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

Preview Lab → · Contrast checker → · Palette generator →

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