#4B7119#4B7119

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

Color values

HEX#4B7119
RGBrgb(75, 113, 25)
HSLhsl(86, 64%, 27%)
HSVhsv(86, 78%, 44%)
CMYKcmyk(33.6%, 0%, 77.9%, 55.7%)
CIE-LABlab(43.32, -27.96, 41.69)
CIE-LCHlch(43.32, 50.20, 123.85°)
OKLaboklab(50.2% -0.0794 0.093)
OKLCHoklch(50.2% 0.122 130.5)
XYZxyz(8.9822, 13.3760, 3.0281)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7119 #3F1971
analogous
#716B19 #4B7119 #1F7119
triadic
#4B7119 #194B71 #71194B
tetradic
#4B7119 #19716B #3F1971 #71191F
square
#4B7119 #19716B #3F1971 #71191F
split-complementary
#4B7119 #191F71 #6B1971
monochromatic
#111906 #2A3F0E #4B7119 #6CA324 #8DD233

Accessibility & contrast

On white

5.71
#4B7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4B7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7119
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7119#FFFFFF#000000##FFFFFF
##4B71191.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766807
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#4D6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7119;
/* rgb */ color: rgb(75, 113, 25);
/* oklch */ color: oklch(50.2% 0.122 130.5);
Tailwind
colors: {
  custom: {
    50: '#819a5d',
    500: '#4b7119',
    950: '#000000',
  },
}
SCSS
$custom: #4b7119;
$custom-light: #819a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7119",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 85.909,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.1223,
    "h": 130.5
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#4B7119
secondary
#6C40A6
accent
#41E789
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7119

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

Preview Lab → · Contrast checker → · Palette generator →

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