#4B8A22#4B8A22

#4B8A22 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.150 H 135.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4B8A22
RGBrgb(75, 138, 34)
HSLhsl(96, 60%, 34%)
HSVhsv(96, 75%, 54%)
CMYKcmyk(45.7%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.60, -38.60, 46.46)
CIE-LCHlch(51.60, 60.40, 129.72°)
OKLaboklab(56.98% -0.1075 0.1044)
OKLCHoklch(56.98% 0.15 135.8)
XYZxyz(12.2786, 19.7876, 4.6855)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8A22 #61228A
analogous
#7F8A22 #4B8A22 #228A2D
triadic
#4B8A22 #224B8A #8A224B
tetradic
#4B8A22 #227F8A #61228A #8A2D22
square
#4B8A22 #227F8A #61228A #8A2D22
split-complementary
#4B8A22 #2D228A #8A227F
monochromatic
#16280A #305916 #4B8A22 #66BB2E #85D452

Accessibility & contrast

On white

4.24
#4B8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4B8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8A22
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8A22#FFFFFF#000000##000000
##4B8A221.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#498576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4b8a22;
/* rgb */ color: rgb(75, 138, 34);
/* oklch */ color: oklch(57.0% 0.150 135.8);
Tailwind
colors: {
  custom: {
    50: '#83ad65',
    500: '#4b8a22',
    950: '#000000',
  },
}
SCSS
$custom: #4b8a22;
$custom-light: #83ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8a22",
  "rgb": {
    "r": 75,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 96.346,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.14989,
    "h": 135.8
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

primary
#4B8A22
secondary
#8F50B8
accent
#44E4A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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