#4B8F15#4B8F15

#4B8F15 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.163 H 135.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4B8F15
RGBrgb(75, 143, 21)
HSLhsl(93, 74%, 32%)
HSVhsv(93, 85%, 56%)
CMYKcmyk(47.6%, 0%, 85.3%, 43.9%)
CIE-LABlab(53.16, -41.43, 52.09)
CIE-LCHlch(53.16, 66.55, 128.50°)
OKLaboklab(58.25% -0.1159 0.1142)
OKLCHoklch(58.25% 0.163 135.4)
XYZxyz(12.8592, 21.1941, 4.1226)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8F15 #59158F
analogous
#888F15 #4B8F15 #158F1C
triadic
#4B8F15 #154B8F #8F154B
tetradic
#4B8F15 #15888F #59158F #8F1C15
square
#4B8F15 #15888F #59158F #8F1C15
split-complementary
#4B8F15 #1C158F #8F1588
monochromatic
#132405 #2F5A0D #4B8F15 #67C41D #86E23C

Accessibility & contrast

On white

4.01
#4B8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4B8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8F15
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8F15#FFFFFF#000000##000000
##4B8F151.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#498979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4b8f15;
/* rgb */ color: rgb(75, 143, 21);
/* oklch */ color: oklch(58.2% 0.163 135.4);
Tailwind
colors: {
  custom: {
    50: '#84b060',
    500: '#4b8f15',
    950: '#000000',
  },
}
SCSS
$custom: #4b8f15;
$custom-light: #84b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8f15",
  "rgb": {
    "r": 75,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 93.443,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.16276,
    "h": 135.4
  },
  "luminance": 0.21195
}

Semantic roles & 50–950 ramp

primary
#4B8F15
secondary
#873EC2
accent
#37F19F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4B8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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