#4B8B1B#4B8B1B

#4B8B1B is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.155 H 135.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4B8B1B
RGBrgb(75, 139, 27)
HSLhsl(94, 67%, 33%)
HSVhsv(94, 81%, 55%)
CMYKcmyk(46%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.88, -39.47, 49.17)
CIE-LCHlch(51.88, 63.05, 128.76°)
OKLaboklab(57.2% -0.1103 0.109)
OKLCHoklch(57.2% 0.155 135.4)
XYZxyz(12.3318, 20.0395, 4.2549)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8B1B #5B1B8B
analogous
#838B1B #4B8B1B #1B8B23
triadic
#4B8B1B #1B4B8B #8B1B4B
tetradic
#4B8B1B #1B838B #5B1B8B #8B231B
square
#4B8B1B #1B838B #5B1B8B #8B231B
split-complementary
#4B8B1B #231B8B #8B1B83
monochromatic
#142507 #2F5811 #4B8B1B #67BE25 #86DB45

Accessibility & contrast

On white

4.19
#4B8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4B8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8B1B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8B1B#FFFFFF#000000##000000
##4B8B1B1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#498576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4b8b1b;
/* rgb */ color: rgb(75, 139, 27);
/* oklch */ color: oklch(57.2% 0.155 135.4);
Tailwind
colors: {
  custom: {
    50: '#84ad61',
    500: '#4b8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #4b8b1b;
$custom-light: #84ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8b1b",
  "rgb": {
    "r": 75,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 94.286,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.15511,
    "h": 135.4
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#4B8B1B
secondary
#8945BC
accent
#3DEAA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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