#4A6612#4A6612

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

Color values

HEX#4A6612
RGBrgb(74, 102, 18)
HSLhsl(80, 70%, 24%)
HSVhsv(80, 82%, 40%)
CMYKcmyk(27.5%, 0%, 82.4%, 60%)
CIE-LABlab(39.58, -23.38, 40.62)
CIE-LCHlch(39.58, 46.87, 119.93°)
OKLaboklab(47.13% -0.0675 0.0896)
OKLCHoklch(47.13% 0.112 127)
XYZxyz(7.6846, 11.0021, 2.2909)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6612 #2E1266
analogous
#665812 #4A6612 #206612
triadic
#4A6612 #124A66 #66124A
tetradic
#4A6612 #126658 #2E1266 #661220
square
#4A6612 #126658 #2E1266 #661220
split-complementary
#4A6612 #122066 #581266
monochromatic
#131A05 #243209 #4A6612 #709A1B #95CE24

Accessibility & contrast

On white

6.56
#4A6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4A6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6612
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6612#FFFFFF#000000##FFFFFF
##4A66121.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a6612;
/* rgb */ color: rgb(74, 102, 18);
/* oklch */ color: oklch(47.1% 0.112 127.0);
Tailwind
colors: {
  custom: {
    50: '#809158',
    500: '#4a6612',
    950: '#000000',
  },
}
SCSS
$custom: #4a6612;
$custom-light: #809158;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6612",
  "rgb": {
    "r": 74,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 80,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.11216,
    "h": 127
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#4A6612
secondary
#59369E
accent
#3BED76
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0D04
muted
#7C7D79

Preview Lab

Preview with #4A6612

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

Preview Lab → · Contrast checker → · Palette generator →

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