#4B8B22#4B8B22

#4B8B22 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.151 H 136.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4B8B22
RGBrgb(75, 139, 34)
HSLhsl(97, 61%, 34%)
HSVhsv(97, 76%, 55%)
CMYKcmyk(46%, 0%, 75.5%, 45.5%)
CIE-LABlab(51.92, -39.03, 46.78)
CIE-LCHlch(51.92, 60.92, 129.83°)
OKLaboklab(57.25% -0.1087 0.1051)
OKLCHoklch(57.25% 0.151 136)
XYZxyz(12.4227, 20.0758, 4.7335)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8B22 #62228B
analogous
#808B22 #4B8B22 #228B2D
triadic
#4B8B22 #224B8B #8B224B
tetradic
#4B8B22 #22808B #62228B #8B2D22
square
#4B8B22 #22808B #62228B #8B2D22
split-complementary
#4B8B22 #2D228B #8B2280
monochromatic
#16290A #305A16 #4B8B22 #66BC2E #85D553

Accessibility & contrast

On white

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

On black

5.02
#4B8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8B22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8B22#FFFFFF#000000##000000
##4B8B221.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#488677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4b8b22;
/* rgb */ color: rgb(75, 139, 34);
/* oklch */ color: oklch(57.3% 0.151 136.0);
Tailwind
colors: {
  custom: {
    50: '#83ad65',
    500: '#4b8b22',
    950: '#000000',
  },
}
SCSS
$custom: #4b8b22;
$custom-light: #83ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8b22",
  "rgb": {
    "r": 75,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 96.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.15119,
    "h": 136
  },
  "luminance": 0.20077
}

Semantic roles & 50–950 ramp

primary
#4B8B22
secondary
#9050B8
accent
#44E4A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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