#4A7628#4A7628

#4A7628 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.119 H 133.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4A7628
RGBrgb(74, 118, 40)
HSLhsl(94, 49%, 31%)
HSVhsv(94, 66%, 46%)
CMYKcmyk(37.3%, 0%, 66.1%, 53.7%)
CIE-LABlab(45.03, -29.53, 37.08)
CIE-LCHlch(45.03, 47.40, 128.54°)
OKLaboklab(51.62% -0.0824 0.0856)
OKLCHoklch(51.62% 0.119 133.9)
XYZxyz(9.6853, 14.5655, 4.3082)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7628 #542876
analogous
#717628 #4A7628 #28762D
triadic
#4A7628 #284A76 #76284A
tetradic
#4A7628 #287176 #542876 #762D28
square
#4A7628 #287176 #542876 #762D28
split-complementary
#4A7628 #2D2876 #762871
monochromatic
#111B09 #2D4819 #4A7628 #67A437 #85C554

Accessibility & contrast

On white

5.37
#4A7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4A7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7628
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7628#FFFFFF#000000##FFFFFF
##4A76281.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#4A7166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a7628;
/* rgb */ color: rgb(74, 118, 40);
/* oklch */ color: oklch(51.6% 0.119 133.9);
Tailwind
colors: {
  custom: {
    50: '#809e66',
    500: '#4a7628',
    950: '#000000',
  },
}
SCSS
$custom: #4a7628;
$custom-light: #809e66;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7628",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 93.846,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.11877,
    "h": 133.9
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#4A7628
secondary
#8252A8
accent
#4FD99D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A7628

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

Preview Lab → · Contrast checker → · Palette generator →

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