#4B6917#4B6917

#4B6917 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.0% C 0.113 H 127.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4B6917
RGBrgb(75, 105, 23)
HSLhsl(82, 64%, 25%)
HSVhsv(82, 78%, 41%)
CMYKcmyk(28.6%, 0%, 78.1%, 58.8%)
CIE-LABlab(40.67, -24.17, 39.87)
CIE-LCHlch(40.67, 46.62, 121.23°)
OKLaboklab(48.04% -0.0693 0.0889)
OKLCHoklch(48.04% 0.113 127.9)
XYZxyz(8.1079, 11.6607, 2.6340)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6917 #351769
analogous
#695E17 #4B6917 #226917
triadic
#4B6917 #174B69 #69174B
tetradic
#4B6917 #17695E #351769 #691722
square
#4B6917 #17695E #351769 #691722
split-complementary
#4B6917 #172269 #5E1769
monochromatic
#121905 #27370C #4B6917 #6F9B22 #93CD2D

Accessibility & contrast

On white

6.30
#4B6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4B6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6917
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6917#FFFFFF#000000##FFFFFF
##4B69171.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6106
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#4E6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b6917;
/* rgb */ color: rgb(75, 105, 23);
/* oklch */ color: oklch(48.0% 0.113 127.9);
Tailwind
colors: {
  custom: {
    50: '#80945b',
    500: '#4b6917',
    950: '#000000',
  },
}
SCSS
$custom: #4b6917;
$custom-light: #80945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6917",
  "rgb": {
    "r": 75,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 81.951,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.11267,
    "h": 127.9
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#4B6917
secondary
#613D9F
accent
#41E77E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4B6917

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

Preview Lab → · Contrast checker → · Palette generator →

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