#4A8915#4A8915

#4A8915 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.156 H 134.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4A8915
RGBrgb(74, 137, 21)
HSLhsl(93, 73%, 31%)
HSVhsv(93, 85%, 54%)
CMYKcmyk(46%, 0%, 84.7%, 46.3%)
CIE-LABlab(51.15, -39.28, 50.27)
CIE-LCHlch(51.15, 63.80, 128.01°)
OKLaboklab(56.58% -0.1101 0.1104)
OKLCHoklch(56.58% 0.156 134.9)
XYZxyz(11.9048, 19.4006, 3.8267)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8915 #541589
analogous
#848915 #4A8915 #15891A
triadic
#4A8915 #154A89 #89154A
tetradic
#4A8915 #158489 #541589 #891A15
square
#4A8915 #158489 #541589 #891A15
split-complementary
#4A8915 #1A1589 #891584
monochromatic
#111F05 #2D540D #4A8915 #67BE1D #85E038

Accessibility & contrast

On white

4.30
#4A8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4A8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8915
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8915#FFFFFF#000000##000000
##4A89151.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#488374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a8915;
/* rgb */ color: rgb(74, 137, 21);
/* oklch */ color: oklch(56.6% 0.156 134.9);
Tailwind
colors: {
  custom: {
    50: '#83ac5f',
    500: '#4a8915',
    950: '#000000',
  },
}
SCSS
$custom: #4a8915;
$custom-light: #83ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8915",
  "rgb": {
    "r": 74,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 92.586,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.15595,
    "h": 134.9
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#4A8915
secondary
#823DBD
accent
#38F09C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8915

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

Preview Lab → · Contrast checker → · Palette generator →

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