#4A6830#4A6830

#4A6830 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.090 H 132.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4A6830
RGBrgb(74, 104, 48)
HSLhsl(92, 37%, 30%)
HSVhsv(92, 54%, 41%)
CMYKcmyk(28.8%, 0%, 53.8%, 59.2%)
CIE-LABlab(40.52, -21.74, 27.84)
CIE-LCHlch(40.52, 35.32, 127.98°)
OKLaboklab(47.98% -0.0603 0.0665)
OKLCHoklch(47.98% 0.09 132.2)
XYZxyz(8.3077, 11.5696, 4.5912)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6830 #4E3068
analogous
#666830 #4A6830 #306832
triadic
#4A6830 #304A68 #68304A
tetradic
#4A6830 #306668 #4E3068 #683230
square
#4A6830 #306668 #4E3068 #683230
split-complementary
#4A6830 #323068 #683066
monochromatic
#0F150A #2C3E1D #4A6830 #689243 #86B55E

Accessibility & contrast

On white

6.34
#4A6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4A6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6830
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6830#FFFFFF#000000##FFFFFF
##4A68301.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612B
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#4B645B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a6830;
/* rgb */ color: rgb(74, 104, 48);
/* oklch */ color: oklch(48.0% 0.090 132.2);
Tailwind
colors: {
  custom: {
    50: '#7e936a',
    500: '#4a6830',
    950: '#000000',
  },
}
SCSS
$custom: #4a6830;
$custom-light: #7e936a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6830",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 92.143,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.08974,
    "h": 132.2
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#4A6830
secondary
#7C5A99
accent
#5BCD98
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4A6830

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

Preview Lab → · Contrast checker → · Palette generator →

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