#4A6728#4A6728

#4A6728 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.096 H 130.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4A6728
RGBrgb(74, 103, 40)
HSLhsl(88, 44%, 28%)
HSVhsv(88, 61%, 40%)
CMYKcmyk(28.2%, 0%, 61.2%, 59.6%)
CIE-LABlab(40.10, -22.15, 31.56)
CIE-LCHlch(40.10, 38.56, 125.07°)
OKLaboklab(47.6% -0.0621 0.0738)
OKLCHoklch(47.6% 0.096 130.1)
XYZxyz(8.0572, 11.3093, 3.7655)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6728 #452867
analogous
#676428 #4A6728 #2A6728
triadic
#4A6728 #284A67 #67284A
tetradic
#4A6728 #286764 #452867 #67282A
square
#4A6728 #286764 #452867 #67282A
split-complementary
#4A6728 #282A67 #642867
monochromatic
#101609 #2A3B17 #4A6728 #6A9339 #89BB4F

Accessibility & contrast

On white

6.44
#4A6728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4A6728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6728
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6728#FFFFFF#000000##FFFFFF
##4A67281.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6021
Deuteranopia (green-blind)
#685E2C
Tritanopia (blue-blind)
#4C6359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a6728;
/* rgb */ color: rgb(74, 103, 40);
/* oklch */ color: oklch(47.6% 0.096 130.1);
Tailwind
colors: {
  custom: {
    50: '#7f9264',
    500: '#4a6728',
    950: '#000000',
  },
}
SCSS
$custom: #4a6728;
$custom-light: #7f9264;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6728",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 87.619,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47601,
    "c": 0.09644,
    "h": 130.1
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#4A6728
secondary
#73519A
accent
#54D48F
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #4A6728

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

Preview Lab → · Contrast checker → · Palette generator →

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