#4B7520#4B7520

#4B7520 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.123 H 132.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4B7520
RGBrgb(75, 117, 32)
HSLhsl(90, 57%, 29%)
HSVhsv(90, 73%, 46%)
CMYKcmyk(35.9%, 0%, 72.6%, 54.1%)
CIE-LABlab(44.69, -29.37, 40.28)
CIE-LCHlch(44.69, 49.85, 126.10°)
OKLaboklab(51.33% -0.0827 0.0912)
OKLCHoklch(51.33% 0.123 132.2)
XYZxyz(9.5235, 14.3223, 3.6289)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7520 #4A2075
analogous
#757520 #4B7520 #217520
triadic
#4B7520 #204B75 #75204B
tetradic
#4B7520 #207575 #4A2075 #752021
square
#4B7520 #207575 #4A2075 #752021
split-complementary
#4B7520 #202175 #752075
monochromatic
#0F1807 #2C4513 #4B7520 #6AA52D #89CC44

Accessibility & contrast

On white

5.43
#4B7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4B7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7520
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7520#FFFFFF#000000##FFFFFF
##4B75201.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C13
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#4C7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b7520;
/* rgb */ color: rgb(75, 117, 32);
/* oklch */ color: oklch(51.3% 0.123 132.2);
Tailwind
colors: {
  custom: {
    50: '#819d61',
    500: '#4b7520',
    950: '#000000',
  },
}
SCSS
$custom: #4b7520;
$custom-light: #819d61;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7520",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 89.647,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.12307,
    "h": 132.2
  },
  "luminance": 0.14323
}

Semantic roles & 50–950 ramp

primary
#4B7520
secondary
#7848A8
accent
#47E093
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B7520

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

Preview Lab → · Contrast checker → · Palette generator →

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