#4B7331#4B7331

#4B7331 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.105 H 134.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4B7331
RGBrgb(75, 115, 49)
HSLhsl(96, 40%, 32%)
HSVhsv(96, 57%, 45%)
CMYKcmyk(34.8%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.20, -26.75, 31.71)
CIE-LCHlch(44.20, 41.49, 130.15°)
OKLaboklab(50.99% -0.0741 0.075)
OKLCHoklch(50.99% 0.105 134.6)
XYZxyz(9.5866, 13.9787, 5.0982)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7331 #593173
analogous
#6C7331 #4B7331 #317338
triadic
#4B7331 #314B73 #73314B
tetradic
#4B7331 #316C73 #593173 #733831
square
#4B7331 #316C73 #593173 #733831
split-complementary
#4B7331 #383173 #73316C
monochromatic
#131D0C #2F481F #4B7331 #679E43 #86BC62

Accessibility & contrast

On white

5.53
#4B7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4B7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7331
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7331#FFFFFF#000000##FFFFFF
##4B73311.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2B
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#4B6F64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b7331;
/* rgb */ color: rgb(75, 115, 49);
/* oklch */ color: oklch(51.0% 0.105 134.6);
Tailwind
colors: {
  custom: {
    50: '#809b6b',
    500: '#4b7331',
    950: '#000000',
  },
}
SCSS
$custom: #4b7331;
$custom-light: #809b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7331",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 96.364,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.10543,
    "h": 134.6
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#4B7331
secondary
#875CA4
accent
#58D0A1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4B7331

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

Preview Lab → · Contrast checker → · Palette generator →

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