#4B8F17#4B8F17

#4B8F17 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.162 H 135.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4B8F17
RGBrgb(75, 143, 23)
HSLhsl(94, 72%, 33%)
HSVhsv(94, 84%, 56%)
CMYKcmyk(47.6%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.17, -41.33, 51.55)
CIE-LCHlch(53.17, 66.08, 128.72°)
OKLaboklab(58.26% -0.1156 0.1134)
OKLCHoklch(58.26% 0.162 135.6)
XYZxyz(12.8785, 21.2018, 4.2242)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8F17 #5B178F
analogous
#878F17 #4B8F17 #178F1F
triadic
#4B8F17 #174B8F #8F174B
tetradic
#4B8F17 #17878F #5B178F #8F1F17
square
#4B8F17 #17878F #5B178F #8F1F17
split-complementary
#4B8F17 #1F178F #8F1787
monochromatic
#142606 #2F5A0F #4B8F17 #67C41F #86E040

Accessibility & contrast

On white

4.01
#4B8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4B8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8F17
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8F17#FFFFFF#000000##000000
##4B8F171.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#498979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4b8f17;
/* rgb */ color: rgb(75, 143, 23);
/* oklch */ color: oklch(58.3% 0.162 135.6);
Tailwind
colors: {
  custom: {
    50: '#84b060',
    500: '#4b8f17',
    950: '#000000',
  },
}
SCSS
$custom: #4b8f17;
$custom-light: #84b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8f17",
  "rgb": {
    "r": 75,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 94,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.16192,
    "h": 135.6
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#4B8F17
secondary
#8941C1
accent
#39EFA0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4B8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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