#4B5917#4B5917

#4B5917 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.8% C 0.091 H 120.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4B5917
RGBrgb(75, 89, 23)
HSLhsl(73, 59%, 22%)
HSVhsv(73, 74%, 35%)
CMYKcmyk(15.7%, 0%, 74.2%, 65.1%)
CIE-LABlab(35.41, -15.76, 34.65)
CIE-LCHlch(35.41, 38.06, 114.46°)
OKLaboklab(43.78% -0.0462 0.0779)
OKLCHoklch(43.78% 0.091 120.7)
XYZxyz(6.6288, 8.7025, 2.1410)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5917 #251759
analogous
#594617 #4B5917 #2A5917
triadic
#4B5917 #174B59 #59174B
tetradic
#4B5917 #175946 #251759 #59172A
square
#4B5917 #175946 #251759 #59172A
split-complementary
#4B5917 #172A59 #461759
monochromatic
#141806 #22280A #4B5917 #748A24 #9DBA30

Accessibility & contrast

On white

7.66
#4B5917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B5917
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5917#FFFFFF#000000##FFFFFF
##4B59171.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530D
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#4F544C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b5917;
/* rgb */ color: rgb(75, 89, 23);
/* oklch */ color: oklch(43.8% 0.091 120.7);
Tailwind
colors: {
  custom: {
    50: '#7f8759',
    500: '#4b5917',
    950: '#000000',
  },
}
SCSS
$custom: #4b5917;
$custom-light: #7f8759;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5917",
  "rgb": {
    "r": 75,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 72.727,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.09057,
    "h": 120.7
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#4B5917
secondary
#4E3C90
accent
#46E267
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4B5917

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

Preview Lab → · Contrast checker → · Palette generator →

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