#4A8F1C#4A8F1C

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

Color values

HEX#4A8F1C
RGBrgb(74, 143, 28)
HSLhsl(96, 67%, 34%)
HSVhsv(96, 80%, 56%)
CMYKcmyk(48.3%, 0%, 80.4%, 43.9%)
CIE-LABlab(53.15, -41.40, 50.03)
CIE-LCHlch(53.15, 64.94, 129.61°)
OKLaboklab(58.24% -0.1154 0.111)
OKLCHoklch(58.24% 0.16 136.1)
XYZxyz(12.8558, 21.1838, 4.5098)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8F1C #611C8F
analogous
#838F1C #4A8F1C #1C8F27
triadic
#4A8F1C #1C4A8F #8F1C4A
tetradic
#4A8F1C #1C838F #611C8F #8F271C
square
#4A8F1C #1C838F #611C8F #8F271C
split-complementary
#4A8F1C #271C8F #8F1C83
monochromatic
#152908 #305C12 #4A8F1C #64C226 #84DC4A

Accessibility & contrast

On white

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

On black

5.24
#4A8F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8F1C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8F1C#FFFFFF#000000##000000
##4A8F1C1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#47897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a8f1c;
/* rgb */ color: rgb(74, 143, 28);
/* oklch */ color: oklch(58.2% 0.160 136.1);
Tailwind
colors: {
  custom: {
    50: '#84b062',
    500: '#4a8f1c',
    950: '#000000',
  },
}
SCSS
$custom: #4a8f1c;
$custom-light: #84b062;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8f1c",
  "rgb": {
    "r": 74,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 96,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.16011,
    "h": 136.1
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A8F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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