#4B8817#4B8817

#4B8817 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#4B8817
RGBrgb(75, 136, 23)
HSLhsl(92, 71%, 31%)
HSVhsv(92, 83%, 53%)
CMYKcmyk(44.9%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.88, -38.42, 49.47)
CIE-LCHlch(50.88, 62.64, 127.84°)
OKLaboklab(56.38% -0.1078 0.109)
OKLCHoklch(56.38% 0.153 134.7)
XYZxyz(11.8602, 19.1654, 3.8848)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8817 #541788
analogous
#838817 #4B8817 #17881B
triadic
#4B8817 #174B88 #88174B
tetradic
#4B8817 #178388 #541788 #881B17
square
#4B8817 #178388 #541788 #881B17
split-complementary
#4B8817 #1B1788 #881783
monochromatic
#111F05 #2E540E #4B8817 #68BC20 #86DE3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B8817#FFFFFF#000000##000000
##4B88171.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)
#857724
Tritanopia (blue-blind)
#4A8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4b8817;
/* rgb */ color: rgb(75, 136, 23);
/* oklch */ color: oklch(56.4% 0.153 134.7);
Tailwind
colors: {
  custom: {
    50: '#83ab5f',
    500: '#4b8817',
    950: '#000000',
  },
}
SCSS
$custom: #4b8817;
$custom-light: #83ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8817",
  "rgb": {
    "r": 75,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 92.389,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.1533,
    "h": 134.7
  },
  "luminance": 0.19166
}

Semantic roles & 50–950 ramp

primary
#4B8817
secondary
#823FBC
accent
#3AEE9B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8817

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

Preview Lab → · Contrast checker → · Palette generator →

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