#4B8517#4B8517

#4B8517 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.150 H 134.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4B8517
RGBrgb(75, 133, 23)
HSLhsl(92, 71%, 31%)
HSVhsv(92, 83%, 52%)
CMYKcmyk(43.6%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.90, -37.14, 48.57)
CIE-LCHlch(49.90, 61.14, 127.41°)
OKLaboklab(55.57% -0.1043 0.1071)
OKLCHoklch(55.57% 0.15 134.2)
XYZxyz(11.4436, 18.3321, 3.7459)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8517 #511785
analogous
#828517 #4B8517 #17851A
triadic
#4B8517 #174B85 #85174B
tetradic
#4B8517 #178285 #511785 #851A17
square
#4B8517 #178285 #511785 #851A17
split-complementary
#4B8517 #1A1785 #851782
monochromatic
#101D05 #2E510E #4B8517 #68B920 #87DD3A

Accessibility & contrast

On white

4.50
#4B8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4B8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8517
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8517#FFFFFF#000000##000000
##4B85171.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#4A8071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4b8517;
/* rgb */ color: rgb(75, 133, 23);
/* oklch */ color: oklch(55.6% 0.150 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a95f',
    500: '#4b8517',
    950: '#000000',
  },
}
SCSS
$custom: #4b8517;
$custom-light: #83a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8517",
  "rgb": {
    "r": 75,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 91.636,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.14953,
    "h": 134.2
  },
  "luminance": 0.18333
}

Semantic roles & 50–950 ramp

primary
#4B8517
secondary
#7F3FB9
accent
#3BED99
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4B8517

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

Preview Lab → · Contrast checker → · Palette generator →

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