#4B8D22#4B8D22

#4B8D22 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.154 H 136.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4B8D22
RGBrgb(75, 141, 34)
HSLhsl(97, 61%, 34%)
HSVhsv(97, 76%, 55%)
CMYKcmyk(46.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(52.58, -39.87, 47.43)
CIE-LCHlch(52.58, 61.96, 130.05°)
OKLaboklab(57.79% -0.1109 0.1064)
OKLCHoklch(57.79% 0.154 136.2)
XYZxyz(12.7149, 20.6603, 4.8309)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8D22 #64228D
analogous
#818D22 #4B8D22 #228D2E
triadic
#4B8D22 #224B8D #8D224B
tetradic
#4B8D22 #22818D #64228D #8D2E22
square
#4B8D22 #22818D #64228D #8D2E22
split-complementary
#4B8D22 #2E228D #8D2281
monochromatic
#172A0A #315C16 #4B8D22 #65BE2E #86D654

Accessibility & contrast

On white

4.09
#4B8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4B8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8D22
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8D22#FFFFFF#000000##000000
##4B8D221.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#488878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4b8d22;
/* rgb */ color: rgb(75, 141, 34);
/* oklch */ color: oklch(57.8% 0.154 136.2);
Tailwind
colors: {
  custom: {
    50: '#84af65',
    500: '#4b8d22',
    950: '#000000',
  },
}
SCSS
$custom: #4b8d22;
$custom-light: #84af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8d22",
  "rgb": {
    "r": 75,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 97.009,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.15375,
    "h": 136.2
  },
  "luminance": 0.20661
}

Semantic roles & 50–950 ramp

primary
#4B8D22
secondary
#9251B9
accent
#44E4A7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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