#4B8718#4B8718

#4B8718 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.152 H 134.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4B8718
RGBrgb(75, 135, 24)
HSLhsl(92, 70%, 31%)
HSVhsv(92, 82%, 53%)
CMYKcmyk(44.4%, 0%, 82.2%, 47.1%)
CIE-LABlab(50.56, -37.95, 48.87)
CIE-LCHlch(50.56, 61.87, 127.83°)
OKLaboklab(56.11% -0.1064 0.1079)
OKLCHoklch(56.11% 0.152 134.6)
XYZxyz(11.7303, 18.8891, 3.8918)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8718 #541887
analogous
#828718 #4B8718 #18871C
triadic
#4B8718 #184B87 #87184B
tetradic
#4B8718 #188287 #541887 #871C18
square
#4B8718 #188287 #541887 #871C18
split-complementary
#4B8718 #1C1887 #871882
monochromatic
#111F06 #2E530F #4B8718 #68BB21 #86DC3D

Accessibility & contrast

On white

4.40
#4B8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4B8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8718
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8718#FFFFFF#000000##000000
##4B87181.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847725
Tritanopia (blue-blind)
#4A8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b8718;
/* rgb */ color: rgb(75, 135, 24);
/* oklch */ color: oklch(56.1% 0.152 134.6);
Tailwind
colors: {
  custom: {
    50: '#83aa60',
    500: '#4b8718',
    950: '#000000',
  },
}
SCSS
$custom: #4b8718;
$custom-light: #83aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8718",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 92.432,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.15157,
    "h": 134.6
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#4B8718
secondary
#8240BB
accent
#3BED9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8718

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

Preview Lab → · Contrast checker → · Palette generator →

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