#4B8915#4B8915

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

Color values

HEX#4B8915
RGBrgb(75, 137, 21)
HSLhsl(92, 73%, 31%)
HSVhsv(92, 85%, 54%)
CMYKcmyk(45.3%, 0%, 84.7%, 46.3%)
CIE-LABlab(51.20, -38.94, 50.33)
CIE-LCHlch(51.20, 63.63, 127.73°)
OKLaboklab(56.63% -0.1093 0.1105)
OKLCHoklch(56.63% 0.155 134.7)
XYZxyz(11.9824, 19.4406, 3.8304)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8915 #531589
analogous
#858915 #4B8915 #158919
triadic
#4B8915 #154B89 #89154B
tetradic
#4B8915 #158589 #531589 #891915
square
#4B8915 #158589 #531589 #891915
split-complementary
#4B8915 #191589 #891585
monochromatic
#111F05 #2E540D #4B8915 #68BE1D #86E038

Accessibility & contrast

On white

4.30
#4B8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B8915#FFFFFF#000000##000000
##4B89151.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b8915;
/* rgb */ color: rgb(75, 137, 21);
/* oklch */ color: oklch(56.6% 0.155 134.7);
Tailwind
colors: {
  custom: {
    50: '#84ac5f',
    500: '#4b8915',
    950: '#000000',
  },
}
SCSS
$custom: #4b8915;
$custom-light: #84ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8915",
  "rgb": {
    "r": 75,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 92.069,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.15542,
    "h": 134.7
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#4B8915
secondary
#813DBD
accent
#38F09A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8915

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

Preview Lab → · Contrast checker → · Palette generator →

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