#4B8A17#4B8A17

#4B8A17 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.156 H 134.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4B8A17
RGBrgb(75, 138, 23)
HSLhsl(93, 71%, 32%)
HSVhsv(93, 83%, 54%)
CMYKcmyk(45.7%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.54, -39.26, 50.07)
CIE-LCHlch(51.54, 63.63, 128.10°)
OKLaboklab(56.91% -0.11 0.1103)
OKLCHoklch(56.91% 0.156 134.9)
XYZxyz(12.1445, 19.7340, 3.9796)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8A17 #56178A
analogous
#858A17 #4B8A17 #178A1D
triadic
#4B8A17 #174B8A #8A174B
tetradic
#4B8A17 #17858A #56178A #8A1D17
square
#4B8A17 #17858A #56178A #8A1D17
split-complementary
#4B8A17 #1D178A #8A1785
monochromatic
#122106 #2E560E #4B8A17 #68BE20 #86DF3D

Accessibility & contrast

On white

4.24
#4B8A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4B8A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8A17
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8A17#FFFFFF#000000##000000
##4B8A171.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#498475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4b8a17;
/* rgb */ color: rgb(75, 138, 23);
/* oklch */ color: oklch(56.9% 0.156 134.9);
Tailwind
colors: {
  custom: {
    50: '#84ad60',
    500: '#4b8a17',
    950: '#000000',
  },
}
SCSS
$custom: #4b8a17;
$custom-light: #84ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8a17",
  "rgb": {
    "r": 75,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 92.87,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.15578,
    "h": 134.9
  },
  "luminance": 0.19735
}

Semantic roles & 50–950 ramp

primary
#4B8A17
secondary
#843FBE
accent
#3AEE9D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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