#4B5938#4B5938

#4B5938 is a dark, muted yellow-green. Relative luminance 0.089; OKLCH L 44.3% C 0.054 H 127.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4B5938
RGBrgb(75, 89, 56)
HSLhsl(85, 23%, 28%)
HSVhsv(85, 37%, 35%)
CMYKcmyk(15.7%, 0%, 37.1%, 65.1%)
CIE-LABlab(35.84, -12.02, 17.36)
CIE-LCHlch(35.84, 21.11, 124.69°)
OKLaboklab(44.27% -0.0327 0.0431)
OKLCHoklch(44.27% 0.054 127.2)
XYZxyz(7.1877, 8.9261, 5.0848)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5938 #463859
analogous
#595638 #4B5938 #3A5938
triadic
#4B5938 #384B59 #59384B
tetradic
#4B5938 #385956 #463859 #59383A
square
#4B5938 #385956 #463859 #59383A
split-complementary
#4B5938 #383A59 #563859
monochromatic
#10130C #2B3320 #4B5938 #6B7F50 #8AA16A

Accessibility & contrast

On white

7.54
#4B5938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4B5938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5938
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5938#FFFFFF#000000##FFFFFF
##4B59381.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5536
Deuteranopia (green-blind)
#5A543A
Tritanopia (blue-blind)
#4D5651
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4b5938;
/* rgb */ color: rgb(75, 89, 56);
/* oklch */ color: oklch(44.3% 0.054 127.2);
Tailwind
colors: {
  custom: {
    50: '#7e886f',
    500: '#4b5938',
    950: '#000000',
  },
}
SCSS
$custom: #4b5938;
$custom-light: #7e886f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5938",
  "rgb": {
    "r": 75,
    "g": 89,
    "b": 56
  },
  "hsl": {
    "h": 85.455,
    "s": 22.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44267,
    "c": 0.05413,
    "h": 127.2
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#4B5938
secondary
#746489
accent
#69BF8D
background
#F7F8F6
surface
#EEEFEC
border
#C9CAC7
text
#0A0B07
muted
#7C7C7A

Preview Lab

Preview with #4B5938

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

Preview Lab → · Contrast checker → · Palette generator →

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