#4A6721#4A6721

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

Color values

HEX#4A6721
RGBrgb(74, 103, 33)
HSLhsl(85, 51%, 27%)
HSVhsv(85, 68%, 40%)
CMYKcmyk(28.2%, 0%, 68%, 59.6%)
CIE-LABlab(40.02, -22.83, 34.91)
CIE-LCHlch(40.02, 41.71, 123.19°)
OKLaboklab(47.52% -0.0646 0.0801)
OKLCHoklch(47.52% 0.103 128.9)
XYZxyz(7.9488, 11.2660, 3.1943)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6721 #3E2167
analogous
#676121 #4A6721 #276721
triadic
#4A6721 #214A67 #67214A
tetradic
#4A6721 #216761 #3E2167 #672127
square
#4A6721 #216761 #3E2167 #672127
split-complementary
#4A6721 #212767 #612167
monochromatic
#111707 #293912 #4A6721 #6B9530 #8CC240

Accessibility & contrast

On white

6.46
#4A6721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A6721
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6721#FFFFFF#000000##FFFFFF
##4A67211.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6018
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#4C6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a6721;
/* rgb */ color: rgb(74, 103, 33);
/* oklch */ color: oklch(47.5% 0.103 128.9);
Tailwind
colors: {
  custom: {
    50: '#7f9260',
    500: '#4a6721',
    950: '#000000',
  },
}
SCSS
$custom: #4a6721;
$custom-light: #7f9260;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6721",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 33
  },
  "hsl": {
    "h": 84.857,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.10288,
    "h": 128.9
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#4A6721
secondary
#6B499B
accent
#4DDB88
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4A6721

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

Preview Lab → · Contrast checker → · Palette generator →

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