#4A6722#4A6722

#4A6722 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.5% C 0.102 H 129.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4A6722
RGBrgb(74, 103, 34)
HSLhsl(85, 50%, 27%)
HSVhsv(85, 67%, 40%)
CMYKcmyk(28.2%, 0%, 67%, 59.6%)
CIE-LABlab(40.03, -22.74, 34.45)
CIE-LCHlch(40.03, 41.28, 123.43°)
OKLaboklab(47.53% -0.0643 0.0792)
OKLCHoklch(47.53% 0.102 129.1)
XYZxyz(7.9630, 11.2716, 3.2692)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6722 #3F2267
analogous
#676222 #4A6722 #286722
triadic
#4A6722 #224A67 #67224A
tetradic
#4A6722 #226762 #3F2267 #672228
square
#4A6722 #226762 #3F2267 #672228
split-complementary
#4A6722 #222867 #622267
monochromatic
#111708 #293913 #4A6722 #6B9531 #8CC143

Accessibility & contrast

On white

6.45
#4A6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4A6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6722
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6722#FFFFFF#000000##FFFFFF
##4A67221.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601A
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#4C6259
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a6722;
/* rgb */ color: rgb(74, 103, 34);
/* oklch */ color: oklch(47.5% 0.102 129.1);
Tailwind
colors: {
  custom: {
    50: '#7f9261',
    500: '#4a6722',
    950: '#000000',
  },
}
SCSS
$custom: #4a6722;
$custom-light: #7f9261;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6722",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 85.217,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.10202,
    "h": 129.1
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#4A6722
secondary
#6C4A9B
accent
#4EDA89
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4A6722

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

Preview Lab → · Contrast checker → · Palette generator →

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