#4B6612#4B6612

#4B6612 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.112 H 126.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4B6612
RGBrgb(75, 102, 18)
HSLhsl(79, 70%, 24%)
HSVhsv(79, 82%, 40%)
CMYKcmyk(26.5%, 0%, 82.4%, 60%)
CIE-LABlab(39.65, -22.95, 40.71)
CIE-LCHlch(39.65, 46.73, 119.41°)
OKLaboklab(47.2% -0.0664 0.0897)
OKLCHoklch(47.2% 0.112 126.5)
XYZxyz(7.7622, 11.0421, 2.2945)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6612 #2D1266
analogous
#665712 #4B6612 #216612
triadic
#4B6612 #124B66 #66124B
tetradic
#4B6612 #126657 #2D1266 #661221
square
#4B6612 #126657 #2D1266 #661221
split-complementary
#4B6612 #122166 #571266
monochromatic
#131A05 #253209 #4B6612 #719A1B #97CE24

Accessibility & contrast

On white

6.55
#4B6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4B6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6612
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6612#FFFFFF#000000##FFFFFF
##4B66121.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#4E6156
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b6612;
/* rgb */ color: rgb(75, 102, 18);
/* oklch */ color: oklch(47.2% 0.112 126.5);
Tailwind
colors: {
  custom: {
    50: '#809158',
    500: '#4b6612',
    950: '#000000',
  },
}
SCSS
$custom: #4b6612;
$custom-light: #809158;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6612",
  "rgb": {
    "r": 75,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 79.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47199,
    "c": 0.11161,
    "h": 126.5
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#4B6612
secondary
#57369E
accent
#3BED74
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #4B6612

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

Preview Lab → · Contrast checker → · Palette generator →

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