#4B5912#4B5912

#4B5912 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.7% C 0.094 H 120.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4B5912
RGBrgb(75, 89, 18)
HSLhsl(72, 66%, 21%)
HSVhsv(72, 80%, 35%)
CMYKcmyk(15.7%, 0%, 79.8%, 65.1%)
CIE-LABlab(35.37, -16.08, 36.68)
CIE-LCHlch(35.37, 40.05, 113.67°)
OKLaboklab(43.74% -0.0476 0.0812)
OKLCHoklch(43.74% 0.094 120.4)
XYZxyz(6.5833, 8.6843, 1.9016)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5912 #201259
analogous
#594312 #4B5912 #275912
triadic
#4B5912 #124B59 #59124B
tetradic
#4B5912 #125943 #201259 #591227
square
#4B5912 #125943 #201259 #591227
split-complementary
#4B5912 #122759 #431259
monochromatic
#151905 #202608 #4B5912 #768C1C #A1BF27

Accessibility & contrast

On white

7.67
#4B5912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4B5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5912
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5912#FFFFFF#000000##FFFFFF
##4B59121.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#50544B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b5912;
/* rgb */ color: rgb(75, 89, 18);
/* oklch */ color: oklch(43.7% 0.094 120.4);
Tailwind
colors: {
  custom: {
    50: '#808756',
    500: '#4b5912',
    950: '#000000',
  },
}
SCSS
$custom: #4b5912;
$custom-light: #808756;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5912",
  "rgb": {
    "r": 75,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 71.831,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.09415,
    "h": 120.4
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#4B5912
secondary
#473592
accent
#3FE960
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4B5912

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

Preview Lab → · Contrast checker → · Palette generator →

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