#4B6918#4B6918

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

Color values

HEX#4B6918
RGBrgb(75, 105, 24)
HSLhsl(82, 63%, 25%)
HSVhsv(82, 77%, 41%)
CMYKcmyk(28.6%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.68, -24.11, 39.49)
CIE-LCHlch(40.68, 46.26, 121.40°)
OKLaboklab(48.04% -0.069 0.0882)
OKLCHoklch(48.04% 0.112 128)
XYZxyz(8.1181, 11.6648, 2.6878)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6918 #361869
analogous
#695E18 #4B6918 #226918
triadic
#4B6918 #184B69 #69184B
tetradic
#4B6918 #18695E #361869 #691822
square
#4B6918 #18695E #361869 #691822
split-complementary
#4B6918 #182269 #5E1869
monochromatic
#121906 #27370D #4B6918 #6F9B23 #92CD2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B6918#FFFFFF#000000##FFFFFF
##4B69181.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)
#6F6108
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#4E6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b6918;
/* rgb */ color: rgb(75, 105, 24);
/* oklch */ color: oklch(48.0% 0.112 128.0);
Tailwind
colors: {
  custom: {
    50: '#80945b',
    500: '#4b6918',
    950: '#000000',
  },
}
SCSS
$custom: #4b6918;
$custom-light: #80945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6918",
  "rgb": {
    "r": 75,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 82.222,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.11202,
    "h": 128
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#4B6918
secondary
#623E9F
accent
#42E67F
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4B6918

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

Preview Lab → · Contrast checker → · Palette generator →

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