#4A8B1B#4A8B1B

#4A8B1B is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.156 H 135.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A8B1B
RGBrgb(74, 139, 27)
HSLhsl(95, 67%, 33%)
HSVhsv(95, 81%, 55%)
CMYKcmyk(46.8%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.84, -39.81, 49.11)
CIE-LCHlch(51.84, 63.22, 129.03°)
OKLaboklab(57.16% -0.1112 0.1089)
OKLCHoklch(57.16% 0.156 135.6)
XYZxyz(12.2542, 19.9995, 4.2513)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8B1B #5C1B8B
analogous
#828B1B #4A8B1B #1B8B24
triadic
#4A8B1B #1B4A8B #8B1B4A
tetradic
#4A8B1B #1B828B #5C1B8B #8B241B
square
#4A8B1B #1B828B #5C1B8B #8B241B
split-complementary
#4A8B1B #241B8B #8B1B82
monochromatic
#132507 #2F5811 #4A8B1B #65BE25 #84DB45

Accessibility & contrast

On white

4.20
#4A8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4A8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8B1B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8B1B#FFFFFF#000000##000000
##4A8B1B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#488676
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a8b1b;
/* rgb */ color: rgb(74, 139, 27);
/* oklch */ color: oklch(57.2% 0.156 135.6);
Tailwind
colors: {
  custom: {
    50: '#83ad61',
    500: '#4a8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #4a8b1b;
$custom-light: #83ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8b1b",
  "rgb": {
    "r": 74,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 94.821,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.15563,
    "h": 135.6
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#4A8B1B
secondary
#8A45BC
accent
#3DEAA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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