#4B8D17#4B8D17

#4B8D17 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.159 H 135.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4B8D17
RGBrgb(75, 141, 23)
HSLhsl(94, 72%, 32%)
HSVhsv(94, 84%, 55%)
CMYKcmyk(46.8%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.52, -40.51, 50.96)
CIE-LCHlch(52.52, 65.10, 128.48°)
OKLaboklab(57.72% -0.1134 0.1121)
OKLCHoklch(57.72% 0.159 135.3)
XYZxyz(12.5809, 20.6067, 4.1250)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8D17 #59178D
analogous
#868D17 #4B8D17 #178D1E
triadic
#4B8D17 #174B8D #8D174B
tetradic
#4B8D17 #17868D #59178D #8D1E17
square
#4B8D17 #17868D #59178D #8D1E17
split-complementary
#4B8D17 #1E178D #8D1786
monochromatic
#132406 #2F580E #4B8D17 #67C220 #86E03F

Accessibility & contrast

On white

4.10
#4B8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4B8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8D17
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8D17#FFFFFF#000000##000000
##4B8D171.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#498778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4b8d17;
/* rgb */ color: rgb(75, 141, 23);
/* oklch */ color: oklch(57.7% 0.159 135.3);
Tailwind
colors: {
  custom: {
    50: '#84af60',
    500: '#4b8d17',
    950: '#000000',
  },
}
SCSS
$custom: #4b8d17;
$custom-light: #84af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8d17",
  "rgb": {
    "r": 75,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 93.559,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57719,
    "c": 0.15948,
    "h": 135.3
  },
  "luminance": 0.20607
}

Semantic roles & 50–950 ramp

primary
#4B8D17
secondary
#8740C0
accent
#39EF9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4B8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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