#4B7E15#4B7E15

#4B7E15 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.142 H 133.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4B7E15
RGBrgb(75, 126, 21)
HSLhsl(89, 71%, 29%)
HSVhsv(89, 83%, 49%)
CMYKcmyk(40.5%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.59, -34.19, 47.05)
CIE-LCHlch(47.59, 58.16, 126.00°)
OKLaboklab(53.67% -0.0965 0.1036)
OKLCHoklch(53.67% 0.142 133)
XYZxyz(10.4977, 16.4712, 3.3355)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7E15 #48157E
analogous
#7E7D15 #4B7E15 #167E15
triadic
#4B7E15 #154B7E #7E154B
tetradic
#4B7E15 #157E7D #48157E #7E1516
square
#4B7E15 #157E7D #48157E #7E1516
split-complementary
#4B7E15 #15167E #7D157E
monochromatic
#101A04 #2C4A0C #4B7E15 #6AB21E #89DD31

Accessibility & contrast

On white

4.89
#4B7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4B7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7E15
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7E15#FFFFFF#000000##FFFFFF
##4B7E151.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D6F21
Tritanopia (blue-blind)
#4B796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4b7e15;
/* rgb */ color: rgb(75, 126, 21);
/* oklch */ color: oklch(53.7% 0.142 133.0);
Tailwind
colors: {
  custom: {
    50: '#82a45d',
    500: '#4b7e15',
    950: '#000000',
  },
}
SCSS
$custom: #4b7e15;
$custom-light: #82a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7e15",
  "rgb": {
    "r": 75,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 89.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.1416,
    "h": 133
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#4B7E15
secondary
#763CB3
accent
#3AEE91
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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