#4B871B#4B871B

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

Color values

HEX#4B871B
RGBrgb(75, 135, 27)
HSLhsl(93, 67%, 32%)
HSVhsv(93, 80%, 53%)
CMYKcmyk(44.4%, 0%, 80%, 47.1%)
CIE-LABlab(50.57, -37.78, 47.93)
CIE-LCHlch(50.57, 61.03, 128.24°)
OKLaboklab(56.13% -0.1058 0.1064)
OKLCHoklch(56.13% 0.15 134.8)
XYZxyz(11.7632, 18.9023, 4.0654)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B871B #571B87
analogous
#81871B #4B871B #1B8721
triadic
#4B871B #1B4B87 #871B4B
tetradic
#4B871B #1B8187 #571B87 #87211B
square
#4B871B #1B8187 #571B87 #87211B
split-complementary
#4B871B #211B87 #871B81
monochromatic
#122107 #2F5411 #4B871B #67BA25 #86D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B871B#FFFFFF#000000##000000
##4B871B1.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)
#8C7B00
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#4A8273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b871b;
/* rgb */ color: rgb(75, 135, 27);
/* oklch */ color: oklch(56.1% 0.150 134.8);
Tailwind
colors: {
  custom: {
    50: '#83aa61',
    500: '#4b871b',
    950: '#000000',
  },
}
SCSS
$custom: #4b871b;
$custom-light: #83aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#4b871b",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 93.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5613,
    "c": 0.15006,
    "h": 134.8
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#4B871B
secondary
#8544BA
accent
#3EEA9D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B871B

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

Preview Lab → · Contrast checker → · Palette generator →

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