#4A8A1C#4A8A1C

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

Color values

HEX#4A8A1C
RGBrgb(74, 138, 28)
HSLhsl(95, 66%, 33%)
HSVhsv(95, 80%, 54%)
CMYKcmyk(46.4%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.51, -39.33, 48.48)
CIE-LCHlch(51.51, 62.43, 129.05°)
OKLaboklab(56.89% -0.1098 0.1077)
OKLCHoklch(56.89% 0.154 135.6)
XYZxyz(12.1218, 19.7159, 4.2652)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A1C #5C1C8A
analogous
#818A1C #4A8A1C #1C8A25
triadic
#4A8A1C #1C4A8A #8A1C4A
tetradic
#4A8A1C #1C818A #5C1C8A #8A251C
square
#4A8A1C #1C818A #5C1C8A #8A251C
split-complementary
#4A8A1C #251C8A #8A1C81
monochromatic
#132407 #2F5712 #4A8A1C #65BD26 #84DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8A1C#FFFFFF#000000##000000
##4A8A1C1.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)
#877928
Tritanopia (blue-blind)
#488576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a1c;
/* rgb */ color: rgb(74, 138, 28);
/* oklch */ color: oklch(56.9% 0.154 135.6);
Tailwind
colors: {
  custom: {
    50: '#83ad62',
    500: '#4a8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a1c;
$custom-light: #83ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a1c",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 94.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.15386,
    "h": 135.6
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#4A8A1C
secondary
#8A46BB
accent
#3FE9A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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