#4B8E1F#4B8E1F

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

Color values

HEX#4B8E1F
RGBrgb(75, 142, 31)
HSLhsl(96, 64%, 34%)
HSVhsv(96, 78%, 56%)
CMYKcmyk(47.2%, 0%, 78.2%, 44.3%)
CIE-LABlab(52.88, -40.48, 48.80)
CIE-LCHlch(52.88, 63.40, 129.68°)
OKLaboklab(58.03% -0.1128 0.1088)
OKLCHoklch(58.03% 0.157 136)
XYZxyz(12.8216, 20.9400, 4.6623)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8E1F #621F8E
analogous
#838E1F #4B8E1F #1F8E2B
triadic
#4B8E1F #1F4B8E #8E1F4B
tetradic
#4B8E1F #1F838E #621F8E #8E2B1F
square
#4B8E1F #1F838E #621F8E #8E2B1F
split-complementary
#4B8E1F #2B1F8E #8E1F83
monochromatic
#162A09 #305C14 #4B8E1F #66C02A #85D94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B8E1F#FFFFFF#000000##000000
##4B8E1F1.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)
#938204
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#488979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4b8e1f;
/* rgb */ color: rgb(75, 142, 31);
/* oklch */ color: oklch(58.0% 0.157 136.0);
Tailwind
colors: {
  custom: {
    50: '#84af64',
    500: '#4b8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #4b8e1f;
$custom-light: #84af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8e1f",
  "rgb": {
    "r": 75,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 96.216,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.15676,
    "h": 136
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#4B8E1F
secondary
#904DBB
accent
#41E7A5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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