#4B871E#4B871E

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

Color values

HEX#4B871E
RGBrgb(75, 135, 30)
HSLhsl(94, 64%, 32%)
HSVhsv(94, 78%, 53%)
CMYKcmyk(44.4%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.59, -37.60, 46.93)
CIE-LCHlch(50.59, 60.13, 128.70°)
OKLaboklab(56.15% -0.1051 0.1048)
OKLCHoklch(56.15% 0.148 135.1)
XYZxyz(11.7997, 18.9169, 4.2576)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B871E #5A1E87
analogous
#7F871E #4B871E #1E8726
triadic
#4B871E #1E4B87 #871E4B
tetradic
#4B871E #1E7F87 #5A1E87 #87261E
square
#4B871E #1E7F87 #5A1E87 #87261E
split-complementary
#4B871E #261E87 #871E7F
monochromatic
#132308 #2F5513 #4B871E #67B929 #86D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B871E#FFFFFF#000000##000000
##4B871E1.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)
#8C7C06
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#498273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b871e;
/* rgb */ color: rgb(75, 135, 30);
/* oklch */ color: oklch(56.1% 0.148 135.1);
Tailwind
colors: {
  custom: {
    50: '#83aa62',
    500: '#4b871e',
    950: '#000000',
  },
}
SCSS
$custom: #4b871e;
$custom-light: #83aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4b871e",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 94.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.1484,
    "h": 135.1
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#4B871E
secondary
#8848B9
accent
#41E7A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B871E

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

Preview Lab → · Contrast checker → · Palette generator →

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