#4A8A22#4A8A22

#4A8A22 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.150 H 136.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A8A22
RGBrgb(74, 138, 34)
HSLhsl(97, 60%, 34%)
HSVhsv(97, 75%, 54%)
CMYKcmyk(46.4%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.55, -38.94, 46.40)
CIE-LCHlch(51.55, 60.57, 130.01°)
OKLaboklab(56.93% -0.1084 0.1043)
OKLCHoklch(56.93% 0.15 136.1)
XYZxyz(12.2009, 19.7475, 4.6818)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A22 #62228A
analogous
#7E8A22 #4A8A22 #228A2E
triadic
#4A8A22 #224A8A #8A224A
tetradic
#4A8A22 #227E8A #62228A #8A2E22
square
#4A8A22 #227E8A #62228A #8A2E22
split-complementary
#4A8A22 #2E228A #8A227E
monochromatic
#15280A #305916 #4A8A22 #64BB2E #84D452

Accessibility & contrast

On white

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

On black

4.95
#4A8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A22
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A22#FFFFFF#000000##000000
##4A8A221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a8a22;
/* rgb */ color: rgb(74, 138, 34);
/* oklch */ color: oklch(56.9% 0.150 136.1);
Tailwind
colors: {
  custom: {
    50: '#83ad65',
    500: '#4a8a22',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a22;
$custom-light: #83ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a22",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 96.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56933,
    "c": 0.15042,
    "h": 136.1
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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