#4B8E1C#4B8E1C

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

Color values

HEX#4B8E1C
RGBrgb(75, 142, 28)
HSLhsl(95, 67%, 33%)
HSVhsv(95, 80%, 56%)
CMYKcmyk(47.2%, 0%, 80.3%, 44.3%)
CIE-LABlab(52.87, -40.66, 49.77)
CIE-LCHlch(52.87, 64.27, 129.25°)
OKLaboklab(58.02% -0.1135 0.1104)
OKLCHoklch(58.02% 0.158 135.8)
XYZxyz(12.7839, 20.9249, 4.4637)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8E1C #5F1C8E
analogous
#848E1C #4B8E1C #1C8E26
triadic
#4B8E1C #1C4B8E #8E1C4B
tetradic
#4B8E1C #1C848E #5F1C8E #8E261C
square
#4B8E1C #1C848E #5F1C8E #8E261C
split-complementary
#4B8E1C #261C8E #8E1C84
monochromatic
#152808 #305B12 #4B8E1C #66C126 #85DB49

Accessibility & contrast

On white

4.05
#4B8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4B8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8E1C
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8E1C#FFFFFF#000000##000000
##4B8E1C1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#488879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4b8e1c;
/* rgb */ color: rgb(75, 142, 28);
/* oklch */ color: oklch(58.0% 0.158 135.8);
Tailwind
colors: {
  custom: {
    50: '#84af62',
    500: '#4b8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4b8e1c;
$custom-light: #84af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8e1c",
  "rgb": {
    "r": 75,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 95.263,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.15834,
    "h": 135.8
  },
  "luminance": 0.20926
}

Semantic roles & 50–950 ramp

primary
#4B8E1C
secondary
#8D49BD
accent
#3EEAA3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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