#4A6731#4A6731

#4A6731 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.7% C 0.087 H 132.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4A6731
RGBrgb(74, 103, 49)
HSLhsl(92, 36%, 30%)
HSVhsv(92, 52%, 40%)
CMYKcmyk(28.2%, 0%, 52.4%, 59.6%)
CIE-LABlab(40.21, -21.09, 26.92)
CIE-LCHlch(40.21, 34.20, 128.09°)
OKLaboklab(47.73% -0.0584 0.0645)
OKLCHoklch(47.73% 0.087 132.1)
XYZxyz(8.2285, 11.3779, 4.6677)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6731 #4E3167
analogous
#656731 #4A6731 #316733
triadic
#4A6731 #314A67 #67314A
tetradic
#4A6731 #316567 #4E3167 #673331
square
#4A6731 #316567 #4E3167 #673331
split-complementary
#4A6731 #333167 #673165
monochromatic
#0F150A #2C3E1D #4A6731 #689045 #86B35F

Accessibility & contrast

On white

6.41
#4A6731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4A6731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6731
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6731#FFFFFF#000000##FFFFFF
##4A67311.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602C
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#4B635B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a6731;
/* rgb */ color: rgb(74, 103, 49);
/* oklch */ color: oklch(47.7% 0.087 132.1);
Tailwind
colors: {
  custom: {
    50: '#7e926a',
    500: '#4a6731',
    950: '#000000',
  },
}
SCSS
$custom: #4a6731;
$custom-light: #7e926a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6731",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 49
  },
  "hsl": {
    "h": 92.222,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.08703,
    "h": 132.1
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#4A6731
secondary
#7C5C98
accent
#5CCC98
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4A6731

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

Preview Lab → · Contrast checker → · Palette generator →

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