#4A8F15#4A8F15

#4A8F15 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.163 H 135.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4A8F15
RGBrgb(74, 143, 21)
HSLhsl(94, 74%, 32%)
HSVhsv(94, 85%, 56%)
CMYKcmyk(48.3%, 0%, 85.3%, 43.9%)
CIE-LABlab(53.12, -41.76, 52.03)
CIE-LCHlch(53.12, 66.71, 128.75°)
OKLaboklab(58.2% -0.1168 0.1141)
OKLCHoklch(58.2% 0.163 135.7)
XYZxyz(12.7815, 21.1541, 4.1190)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8F15 #5A158F
analogous
#878F15 #4A8F15 #158F1D
triadic
#4A8F15 #154A8F #8F154A
tetradic
#4A8F15 #15878F #5A158F #8F1D15
square
#4A8F15 #15878F #5A158F #8F1D15
split-complementary
#4A8F15 #1D158F #8F1587
monochromatic
#132405 #2E5A0D #4A8F15 #66C41D #84E23C

Accessibility & contrast

On white

4.01
#4A8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4A8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8F15
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8F15#FFFFFF#000000##000000
##4A8F151.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#478979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a8f15;
/* rgb */ color: rgb(74, 143, 21);
/* oklch */ color: oklch(58.2% 0.163 135.7);
Tailwind
colors: {
  custom: {
    50: '#84b060',
    500: '#4a8f15',
    950: '#000000',
  },
}
SCSS
$custom: #4a8f15;
$custom-light: #84b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8f15",
  "rgb": {
    "r": 74,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 93.934,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58199,
    "c": 0.16327,
    "h": 135.7
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#4A8F15
secondary
#893EC2
accent
#37F1A0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4A8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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