#4B8F1F#4B8F1F

#4B8F1F is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.158 H 136.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4B8F1F
RGBrgb(75, 143, 31)
HSLhsl(96, 64%, 34%)
HSVhsv(96, 78%, 56%)
CMYKcmyk(47.6%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.21, -40.89, 49.11)
CIE-LCHlch(53.21, 63.91, 129.78°)
OKLaboklab(58.3% -0.1139 0.1095)
OKLCHoklch(58.3% 0.158 136.1)
XYZxyz(12.9711, 21.2389, 4.7121)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8F1F #631F8F
analogous
#838F1F #4B8F1F #1F8F2B
triadic
#4B8F1F #1F4B8F #8F1F4B
tetradic
#4B8F1F #1F838F #631F8F #8F2B1F
square
#4B8F1F #1F838F #631F8F #8F2B1F
split-complementary
#4B8F1F #2B1F8F #8F1F83
monochromatic
#162A09 #315D14 #4B8F1F #65C12A #85D94F

Accessibility & contrast

On white

4.00
#4B8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4B8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8F1F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8F1F#FFFFFF#000000##000000
##4B8F1F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#488A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4b8f1f;
/* rgb */ color: rgb(75, 143, 31);
/* oklch */ color: oklch(58.3% 0.158 136.1);
Tailwind
colors: {
  custom: {
    50: '#84b064',
    500: '#4b8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4b8f1f;
$custom-light: #84b064;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8f1f",
  "rgb": {
    "r": 75,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 96.429,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58302,
    "c": 0.15801,
    "h": 136.1
  },
  "luminance": 0.2124
}

Semantic roles & 50–950 ramp

primary
#4B8F1F
secondary
#914EBC
accent
#40E7A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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