#4B8D15#4B8D15

#4B8D15 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.160 H 135.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4B8D15
RGBrgb(75, 141, 21)
HSLhsl(93, 74%, 32%)
HSVhsv(93, 85%, 55%)
CMYKcmyk(46.8%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.51, -40.61, 51.50)
CIE-LCHlch(52.51, 65.58, 128.25°)
OKLaboklab(57.71% -0.1137 0.113)
OKLCHoklch(57.71% 0.16 135.2)
XYZxyz(12.5616, 20.5990, 4.0234)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8D15 #57158D
analogous
#878D15 #4B8D15 #158D1B
triadic
#4B8D15 #154B8D #8D154B
tetradic
#4B8D15 #15878D #57158D #8D1B15
square
#4B8D15 #15878D #57158D #8D1B15
split-complementary
#4B8D15 #1B158D #8D1587
monochromatic
#122205 #2F580D #4B8D15 #67C21D #86E23B

Accessibility & contrast

On white

4.10
#4B8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4B8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8D15
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8D15#FFFFFF#000000##000000
##4B8D151.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#498778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4b8d15;
/* rgb */ color: rgb(75, 141, 21);
/* oklch */ color: oklch(57.7% 0.160 135.2);
Tailwind
colors: {
  custom: {
    50: '#84af5f',
    500: '#4b8d15',
    950: '#000000',
  },
}
SCSS
$custom: #4b8d15;
$custom-light: #84af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8d15",
  "rgb": {
    "r": 75,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 93,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.16032,
    "h": 135.2
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#4B8D15
secondary
#853DC1
accent
#37F19D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4B8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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