#4A8A1B#4A8A1B

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

Color values

HEX#4A8A1B
RGBrgb(74, 138, 27)
HSLhsl(95, 67%, 32%)
HSVhsv(95, 80%, 54%)
CMYKcmyk(46.4%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.51, -39.39, 48.80)
CIE-LCHlch(51.51, 62.72, 128.91°)
OKLaboklab(56.89% -0.1101 0.1083)
OKLCHoklch(56.89% 0.154 135.5)
XYZxyz(12.1101, 19.7112, 4.2032)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A1B #5B1B8A
analogous
#818A1B #4A8A1B #1B8A24
triadic
#4A8A1B #1B4A8A #8A1B4A
tetradic
#4A8A1B #1B818A #5B1B8A #8A241B
square
#4A8A1B #1B818A #5B1B8A #8A241B
split-complementary
#4A8A1B #241B8A #8A1B81
monochromatic
#132407 #2F5711 #4A8A1B #65BD25 #84DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8A1B#FFFFFF#000000##000000
##4A8A1B1.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)
#877927
Tritanopia (blue-blind)
#488575
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a1b;
/* rgb */ color: rgb(74, 138, 27);
/* oklch */ color: oklch(56.9% 0.154 135.5);
Tailwind
colors: {
  custom: {
    50: '#83ad61',
    500: '#4a8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a1b;
$custom-light: #83ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a1b",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 94.595,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.15438,
    "h": 135.5
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#4A8A1B
secondary
#8A45BC
accent
#3EEAA1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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