#4B7511#4B7511

#4B7511 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.132 H 130.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4B7511
RGBrgb(75, 117, 17)
HSLhsl(85, 75%, 26%)
HSVhsv(85, 85%, 46%)
CMYKcmyk(35.9%, 0%, 85.5%, 54.1%)
CIE-LABlab(44.60, -30.28, 45.53)
CIE-LCHlch(44.60, 54.68, 123.63°)
OKLaboklab(51.23% -0.0863 0.0997)
OKLCHoklch(51.23% 0.132 130.9)
XYZxyz(9.3641, 14.2586, 2.7890)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7511 #3B1175
analogous
#756D11 #4B7511 #197511
triadic
#4B7511 #114B75 #75114B
tetradic
#4B7511 #11756D #3B1175 #751119
square
#4B7511 #11756D #3B1175 #751119
split-complementary
#4B7511 #111975 #6D1175
monochromatic
#111B04 #294009 #4B7511 #6DAA19 #8FDF22

Accessibility & contrast

On white

5.45
#4B7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4B7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7511
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7511#FFFFFF#000000##FFFFFF
##4B75111.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6B00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#4D7063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b7511;
/* rgb */ color: rgb(75, 117, 17);
/* oklch */ color: oklch(51.2% 0.132 130.9);
Tailwind
colors: {
  custom: {
    50: '#829d5a',
    500: '#4b7511',
    950: '#000000',
  },
}
SCSS
$custom: #4b7511;
$custom-light: #829d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7511",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 85.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.13188,
    "h": 130.9
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#4B7511
secondary
#6736AC
accent
#37F185
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7511

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

Preview Lab → · Contrast checker → · Palette generator →

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