#4B8A1C#4B8A1C

#4B8A1C is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 56.9% C 0.153 H 135.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4B8A1C
RGBrgb(75, 138, 28)
HSLhsl(94, 66%, 33%)
HSVhsv(94, 80%, 54%)
CMYKcmyk(45.7%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.56, -38.99, 48.54)
CIE-LCHlch(51.56, 62.26, 128.78°)
OKLaboklab(56.94% -0.109 0.1078)
OKLCHoklch(56.94% 0.153 135.3)
XYZxyz(12.1994, 19.7559, 4.2688)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8A1C #5B1C8A
analogous
#828A1C #4B8A1C #1C8A24
triadic
#4B8A1C #1C4B8A #8A1C4B
tetradic
#4B8A1C #1C828A #5B1C8A #8A241C
square
#4B8A1C #1C828A #5B1C8A #8A241C
split-complementary
#4B8A1C #241C8A #8A1C82
monochromatic
#142407 #2F5712 #4B8A1C #67BD26 #86DA47

Accessibility & contrast

On white

4.24
#4B8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4B8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8A1C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8A1C#FFFFFF#000000##000000
##4B8A1C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#498576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4b8a1c;
/* rgb */ color: rgb(75, 138, 28);
/* oklch */ color: oklch(56.9% 0.153 135.3);
Tailwind
colors: {
  custom: {
    50: '#83ad62',
    500: '#4b8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #4b8a1c;
$custom-light: #83ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8a1c",
  "rgb": {
    "r": 75,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 94.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.15333,
    "h": 135.3
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#4B8A1C
secondary
#8946BB
accent
#3FE9A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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