#4A8E1B#4A8E1B

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

Color values

HEX#4A8E1B
RGBrgb(74, 142, 27)
HSLhsl(95, 68%, 33%)
HSVhsv(95, 81%, 56%)
CMYKcmyk(47.9%, 0%, 81%, 44.3%)
CIE-LABlab(52.82, -41.05, 50.03)
CIE-LCHlch(52.82, 64.71, 129.37°)
OKLaboklab(57.96% -0.1145 0.1108)
OKLCHoklch(57.96% 0.159 135.9)
XYZxyz(12.6945, 20.8802, 4.3981)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8E1B #5F1B8E
analogous
#838E1B #4A8E1B #1B8E25
triadic
#4A8E1B #1B4A8E #8E1B4A
tetradic
#4A8E1B #1B838E #5F1B8E #8E251B
square
#4A8E1B #1B838E #5F1B8E #8E251B
split-complementary
#4A8E1B #251B8E #8E1B83
monochromatic
#142707 #2F5B11 #4A8E1B #65C125 #84DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8E1B#FFFFFF#000000##000000
##4A8E1B1.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)
#8A7C28
Tritanopia (blue-blind)
#478879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a8e1b;
/* rgb */ color: rgb(74, 142, 27);
/* oklch */ color: oklch(58.0% 0.159 135.9);
Tailwind
colors: {
  custom: {
    50: '#83b062',
    500: '#4a8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4a8e1b;
$custom-light: #83b062;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8e1b",
  "rgb": {
    "r": 74,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 95.478,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.15936,
    "h": 135.9
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#4A8E1B
secondary
#8D47BE
accent
#3DEBA4
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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