#4B871C#4B871C

#4B871C is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.150 H 134.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4B871C
RGBrgb(75, 135, 28)
HSLhsl(94, 66%, 32%)
HSVhsv(94, 79%, 53%)
CMYKcmyk(44.4%, 0%, 79.3%, 47.1%)
CIE-LABlab(50.58, -37.72, 47.61)
CIE-LCHlch(50.58, 60.74, 128.39°)
OKLaboklab(56.14% -0.1056 0.1059)
OKLCHoklch(56.14% 0.15 134.9)
XYZxyz(11.7750, 18.9070, 4.1273)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B871C #581C87
analogous
#81871C #4B871C #1C8723
triadic
#4B871C #1C4B87 #871C4B
tetradic
#4B871C #1C8187 #581C87 #87231C
square
#4B871C #1C8187 #581C87 #87231C
split-complementary
#4B871C #231C87 #871C81
monochromatic
#132207 #2F5411 #4B871C #67BA27 #86D845

Accessibility & contrast

On white

4.39
#4B871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4B871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B871C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B871C#FFFFFF#000000##000000
##4B871C1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B01
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#4A8273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b871c;
/* rgb */ color: rgb(75, 135, 28);
/* oklch */ color: oklch(56.1% 0.150 134.9);
Tailwind
colors: {
  custom: {
    50: '#83aa61',
    500: '#4b871c',
    950: '#000000',
  },
}
SCSS
$custom: #4b871c;
$custom-light: #83aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#4b871c",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 93.645,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.14952,
    "h": 134.9
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#4B871C
secondary
#8745BA
accent
#3FE99E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B871C

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

Preview Lab → · Contrast checker → · Palette generator →

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