#4B7118#4B7118

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

Color values

HEX#4B7118
RGBrgb(75, 113, 24)
HSLhsl(86, 65%, 27%)
HSVhsv(86, 79%, 44%)
CMYKcmyk(33.6%, 0%, 78.8%, 55.7%)
CIE-LABlab(43.32, -28.03, 42.05)
CIE-LCHlch(43.32, 50.54, 123.68°)
OKLaboklab(50.19% -0.0797 0.0936)
OKLCHoklch(50.19% 0.123 130.4)
XYZxyz(8.9716, 13.3718, 2.9723)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7118 #3E1871
analogous
#716B18 #4B7118 #1E7118
triadic
#4B7118 #184B71 #71184B
tetradic
#4B7118 #18716B #3E1871 #71181E
square
#4B7118 #18716B #3E1871 #71181E
split-complementary
#4B7118 #181E71 #6B1871
monochromatic
#111905 #293F0D #4B7118 #6DA323 #8ED330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7118#FFFFFF#000000##FFFFFF
##4B71181.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)
#766805
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#4D6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7118;
/* rgb */ color: rgb(75, 113, 24);
/* oklch */ color: oklch(50.2% 0.123 130.4);
Tailwind
colors: {
  custom: {
    50: '#819a5c',
    500: '#4b7118',
    950: '#000000',
  },
}
SCSS
$custom: #4b7118;
$custom-light: #819a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7118",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 85.618,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50192,
    "c": 0.12292,
    "h": 130.4
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#4B7118
secondary
#6B3EA6
accent
#40E888
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7118

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

Preview Lab → · Contrast checker → · Palette generator →

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