#4A8E1C#4A8E1C

#4A8E1C is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.159 H 136.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4A8E1C
RGBrgb(74, 142, 28)
HSLhsl(96, 67%, 33%)
HSVhsv(96, 80%, 56%)
CMYKcmyk(47.9%, 0%, 80.3%, 44.3%)
CIE-LABlab(52.82, -40.99, 49.72)
CIE-LCHlch(52.82, 64.44, 129.50°)
OKLaboklab(57.97% -0.1143 0.1103)
OKLCHoklch(57.97% 0.159 136)
XYZxyz(12.7063, 20.8849, 4.4600)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8E1C #601C8E
analogous
#838E1C #4A8E1C #1C8E27
triadic
#4A8E1C #1C4A8E #8E1C4A
tetradic
#4A8E1C #1C838E #601C8E #8E271C
square
#4A8E1C #1C838E #601C8E #8E271C
split-complementary
#4A8E1C #271C8E #8E1C83
monochromatic
#152808 #2F5B12 #4A8E1C #65C126 #84DB49

Accessibility & contrast

On white

4.06
#4A8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4A8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8E1C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8E1C#FFFFFF#000000##000000
##4A8E1C1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#478879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a8e1c;
/* rgb */ color: rgb(74, 142, 28);
/* oklch */ color: oklch(58.0% 0.159 136.0);
Tailwind
colors: {
  custom: {
    50: '#83b062',
    500: '#4a8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4a8e1c;
$custom-light: #83b062;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8e1c",
  "rgb": {
    "r": 74,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 95.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.15886,
    "h": 136
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#4A8E1C
secondary
#8E49BD
accent
#3EEAA5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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