#4A6622#4A6622

#4A6622 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.3% C 0.101 H 128.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4A6622
RGBrgb(74, 102, 34)
HSLhsl(85, 50%, 27%)
HSVhsv(85, 67%, 40%)
CMYKcmyk(27.5%, 0%, 66.7%, 60%)
CIE-LABlab(39.70, -22.23, 34.09)
CIE-LCHlch(39.70, 40.70, 123.11°)
OKLaboklab(47.26% -0.0629 0.0785)
OKLCHoklch(47.26% 0.101 128.7)
XYZxyz(7.8641, 11.0739, 3.2362)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6622 #3E2266
analogous
#666022 #4A6622 #286622
triadic
#4A6622 #224A66 #66224A
tetradic
#4A6622 #226660 #3E2266 #662228
square
#4A6622 #226660 #3E2266 #662228
split-complementary
#4A6622 #222866 #602266
monochromatic
#111708 #293813 #4A6622 #6B9431 #8CC042

Accessibility & contrast

On white

6.53
#4A6622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A6622
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6622#FFFFFF#000000##FFFFFF
##4A66221.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#4C6158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a6622;
/* rgb */ color: rgb(74, 102, 34);
/* oklch */ color: oklch(47.3% 0.101 128.7);
Tailwind
colors: {
  custom: {
    50: '#7f9160',
    500: '#4a6622',
    950: '#000000',
  },
}
SCSS
$custom: #4a6622;
$custom-light: #7f9160;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6622",
  "rgb": {
    "r": 74,
    "g": 102,
    "b": 34
  },
  "hsl": {
    "h": 84.706,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.10054,
    "h": 128.7
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#4A6622
secondary
#6B4A9A
accent
#4EDA88
background
#F7F8F5
surface
#EEF0EA
border
#C9CBC6
text
#0A0D05
muted
#7C7D79

Preview Lab

Preview with #4A6622

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

Preview Lab → · Contrast checker → · Palette generator →

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