#4B6040#4B6040

#4B6040 is a mid, muted yellow-green. Relative luminance 0.102; OKLCH L 46.3% C 0.056 H 135.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4B6040
RGBrgb(75, 96, 64)
HSLhsl(99, 20%, 31%)
HSVhsv(99, 33%, 38%)
CMYKcmyk(21.9%, 0%, 33.3%, 62.4%)
CIE-LABlab(38.25, -14.65, 15.77)
CIE-LCHlch(38.25, 21.52, 132.88°)
OKLaboklab(46.25% -0.0398 0.0396)
OKLCHoklch(46.25% 0.056 135.2)
XYZxyz(8.0097, 10.2316, 6.4024)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6040 #554060
analogous
#5B6040 #4B6040 #406045
triadic
#4B6040 #404B60 #60404B
tetradic
#4B6040 #405B60 #554060 #604540
square
#4B6040 #405B60 #554060 #604540
split-complementary
#4B6040 #454060 #60405B
monochromatic
#12170F #2E3B28 #4B6040 #688558 #86A476

Accessibility & contrast

On white

6.89
#4B6040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4B6040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6040
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6040#FFFFFF#000000##FFFFFF
##4B60401.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#4B5E58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b6040;
/* rgb */ color: rgb(75, 96, 64);
/* oklch */ color: oklch(46.3% 0.056 135.2);
Tailwind
colors: {
  custom: {
    50: '#7e8d75',
    500: '#4b6040',
    950: '#000000',
  },
}
SCSS
$custom: #4b6040;
$custom-light: #7e8d75;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6040",
  "rgb": {
    "r": 75,
    "g": 96,
    "b": 64
  },
  "hsl": {
    "h": 99.375,
    "s": 20,
    "l": 31.373
  },
  "oklch": {
    "l": 0.46254,
    "c": 0.05616,
    "h": 135.2
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#4B6040
secondary
#836C90
accent
#6BBDA1
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #4B6040

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

Preview Lab → · Contrast checker → · Palette generator →

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