#4B8917#4B8917

#4B8917 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.155 H 134.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4B8917
RGBrgb(75, 137, 23)
HSLhsl(93, 71%, 31%)
HSVhsv(93, 83%, 54%)
CMYKcmyk(45.3%, 0%, 83.2%, 46.3%)
CIE-LABlab(51.21, -38.84, 49.77)
CIE-LCHlch(51.21, 63.13, 127.97°)
OKLaboklab(56.65% -0.1089 0.1096)
OKLCHoklch(56.65% 0.155 134.8)
XYZxyz(12.0017, 19.4483, 3.9320)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8917 #551789
analogous
#848917 #4B8917 #17891C
triadic
#4B8917 #174B89 #89174B
tetradic
#4B8917 #178489 #551789 #891C17
square
#4B8917 #178489 #551789 #891C17
split-complementary
#4B8917 #1C1789 #891784
monochromatic
#122005 #2E550E #4B8917 #68BD20 #86DE3C

Accessibility & contrast

On white

4.29
#4B8917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4B8917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8917
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8917#FFFFFF#000000##000000
##4B89171.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#4A8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4b8917;
/* rgb */ color: rgb(75, 137, 23);
/* oklch */ color: oklch(56.6% 0.155 134.8);
Tailwind
colors: {
  custom: {
    50: '#84ac5f',
    500: '#4b8917',
    950: '#000000',
  },
}
SCSS
$custom: #4b8917;
$custom-light: #84ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8917",
  "rgb": {
    "r": 75,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 92.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.15454,
    "h": 134.8
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#4B8917
secondary
#833FBD
accent
#3AEE9C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8917

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

Preview Lab → · Contrast checker → · Palette generator →

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