#4B8617#4B8617

#4B8617 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.8% C 0.151 H 134.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4B8617
RGBrgb(75, 134, 23)
HSLhsl(92, 71%, 31%)
HSVhsv(92, 83%, 53%)
CMYKcmyk(44%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.22, -37.57, 48.87)
CIE-LCHlch(50.22, 61.64, 127.55°)
OKLaboklab(55.84% -0.1055 0.1077)
OKLCHoklch(55.84% 0.151 134.4)
XYZxyz(11.5812, 18.6073, 3.7918)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8617 #521786
analogous
#828617 #4B8617 #17861A
triadic
#4B8617 #174B86 #86174B
tetradic
#4B8617 #178286 #521786 #861A17
square
#4B8617 #178286 #521786 #861A17
split-complementary
#4B8617 #1A1786 #861782
monochromatic
#111E05 #2E520E #4B8617 #68BA20 #87DD3A

Accessibility & contrast

On white

4.45
#4B8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4B8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8617
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8617#FFFFFF#000000##000000
##4B86171.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#4A8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4b8617;
/* rgb */ color: rgb(75, 134, 23);
/* oklch */ color: oklch(55.8% 0.151 134.4);
Tailwind
colors: {
  custom: {
    50: '#83aa5f',
    500: '#4b8617',
    950: '#000000',
  },
}
SCSS
$custom: #4b8617;
$custom-light: #83aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8617",
  "rgb": {
    "r": 75,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 91.892,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.15079,
    "h": 134.4
  },
  "luminance": 0.18608
}

Semantic roles & 50–950 ramp

primary
#4B8617
secondary
#803FBA
accent
#3AED9A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8617

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

Preview Lab → · Contrast checker → · Palette generator →

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