#4A8A25#4A8A25

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

Color values

HEX#4A8A25
RGBrgb(74, 138, 37)
HSLhsl(98, 58%, 34%)
HSVhsv(98, 73%, 54%)
CMYKcmyk(46.4%, 0%, 73.2%, 45.9%)
CIE-LABlab(51.57, -38.72, 45.27)
CIE-LCHlch(51.57, 59.57, 130.54°)
OKLaboklab(56.96% -0.1076 0.1024)
OKLCHoklch(56.96% 0.149 136.4)
XYZxyz(12.2461, 19.7656, 4.9198)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A25 #65258A
analogous
#7D8A25 #4A8A25 #258A33
triadic
#4A8A25 #254A8A #8A254A
tetradic
#4A8A25 #257D8A #65258A #8A3325
square
#4A8A25 #257D8A #65258A #8A3325
split-complementary
#4A8A25 #33258A #8A257D
monochromatic
#16290B #305A18 #4A8A25 #64BA32 #84D257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8A25#FFFFFF#000000##000000
##4A8A251.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)
#8F7E14
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#478576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a25;
/* rgb */ color: rgb(74, 138, 37);
/* oklch */ color: oklch(57.0% 0.148 136.4);
Tailwind
colors: {
  custom: {
    50: '#82ad66',
    500: '#4a8a25',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a25;
$custom-light: #82ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a25",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 98.02,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.1485,
    "h": 136.4
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#4A8A25
secondary
#9354B7
accent
#47E1A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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