#4A8A15#4A8A15

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

Color values

HEX#4A8A15
RGBrgb(74, 138, 21)
HSLhsl(93, 74%, 31%)
HSVhsv(93, 85%, 54%)
CMYKcmyk(46.4%, 0%, 84.8%, 45.9%)
CIE-LABlab(51.48, -39.70, 50.56)
CIE-LCHlch(51.48, 64.29, 128.14°)
OKLaboklab(56.85% -0.1113 0.111)
OKLCHoklch(56.85% 0.157 135.1)
XYZxyz(12.0476, 19.6862, 3.8743)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A15 #55158A
analogous
#848A15 #4A8A15 #158A1B
triadic
#4A8A15 #154A8A #8A154A
tetradic
#4A8A15 #15848A #55158A #8A1B15
square
#4A8A15 #15848A #55158A #8A1B15
split-complementary
#4A8A15 #1B158A #8A1584
monochromatic
#112005 #2E550D #4A8A15 #66BF1D #85E139

Accessibility & contrast

On white

4.25
#4A8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4A8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A15
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A15#FFFFFF#000000##000000
##4A8A151.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#488475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a15;
/* rgb */ color: rgb(74, 138, 21);
/* oklch */ color: oklch(56.9% 0.157 135.1);
Tailwind
colors: {
  custom: {
    50: '#83ad5f',
    500: '#4a8a15',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a15;
$custom-light: #83ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a15",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 92.821,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.15718,
    "h": 135.1
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#4A8A15
secondary
#833DBE
accent
#38F09D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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