#4B8017#4B8017

#4B8017 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.143 H 133.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4B8017
RGBrgb(75, 128, 23)
HSLhsl(90, 70%, 30%)
HSVhsv(90, 82%, 50%)
CMYKcmyk(41.4%, 0%, 82%, 49.8%)
CIE-LABlab(48.25, -34.97, 47.05)
CIE-LCHlch(48.25, 58.62, 126.62°)
OKLaboklab(54.22% -0.0985 0.1039)
OKLCHoklch(54.22% 0.143 133.5)
XYZxyz(10.7753, 16.9955, 3.5232)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8017 #4C1780
analogous
#7F8017 #4B8017 #178018
triadic
#4B8017 #174B80 #80174B
tetradic
#4B8017 #177F80 #4C1780 #801817
square
#4B8017 #177F80 #4C1780 #801817
split-complementary
#4B8017 #181780 #80177F
monochromatic
#0F1A05 #2D4C0E #4B8017 #69B420 #88DB36

Accessibility & contrast

On white

4.77
#4B8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4B8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8017
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8017#FFFFFF#000000##FFFFFF
##4B80171.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#4B7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b8017;
/* rgb */ color: rgb(75, 128, 23);
/* oklch */ color: oklch(54.2% 0.143 133.5);
Tailwind
colors: {
  custom: {
    50: '#83a55e',
    500: '#4b8017',
    950: '#000000',
  },
}
SCSS
$custom: #4b8017;
$custom-light: #83a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8017",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 90.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.14318,
    "h": 133.5
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#4B8017
secondary
#7A3EB4
accent
#3BEC95
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8017

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

Preview Lab → · Contrast checker → · Palette generator →

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