#4B7115#4B7115

#4B7115 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.125 H 130.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4B7115
RGBrgb(75, 113, 21)
HSLhsl(85, 69%, 26%)
HSVhsv(85, 81%, 44%)
CMYKcmyk(33.6%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.30, -28.20, 43.09)
CIE-LCHlch(43.30, 51.50, 123.20°)
OKLaboklab(50.17% -0.0804 0.0953)
OKLCHoklch(50.17% 0.125 130.2)
XYZxyz(8.9421, 13.3600, 2.8169)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7115 #3B1571
analogous
#716915 #4B7115 #1D7115
triadic
#4B7115 #154B71 #71154B
tetradic
#4B7115 #157169 #3B1571 #71151D
square
#4B7115 #157169 #3B1571 #71151D
split-complementary
#4B7115 #151D71 #691571
monochromatic
#111A05 #293D0B #4B7115 #6DA51F #8FD729

Accessibility & contrast

On white

5.72
#4B7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4B7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7115
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7115#FFFFFF#000000##FFFFFF
##4B71151.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#4D6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7115;
/* rgb */ color: rgb(75, 113, 21);
/* oklch */ color: oklch(50.2% 0.125 130.2);
Tailwind
colors: {
  custom: {
    50: '#819a5b',
    500: '#4b7115',
    950: '#000000',
  },
}
SCSS
$custom: #4b7115;
$custom-light: #819a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7115",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 84.783,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.12465,
    "h": 130.2
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#4B7115
secondary
#673BA7
accent
#3CEB85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7115

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

Preview Lab → · Contrast checker → · Palette generator →

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