#4C6830#4C6830

#4C6830 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.089 H 131.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4C6830
RGBrgb(76, 104, 48)
HSLhsl(90, 37%, 30%)
HSVhsv(90, 54%, 41%)
CMYKcmyk(26.9%, 0%, 53.8%, 59.2%)
CIE-LABlab(40.65, -20.92, 28.03)
CIE-LCHlch(40.65, 34.98, 126.73°)
OKLaboklab(48.12% -0.0581 0.0669)
OKLCHoklch(48.12% 0.089 131)
XYZxyz(8.4642, 11.6503, 4.5985)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6830 #4C3068
analogous
#686830 #4C6830 #306830
triadic
#4C6830 #304C68 #68304C
tetradic
#4C6830 #306868 #4C3068 #683030
square
#4C6830 #306868 #4C3068 #683030
split-complementary
#4C6830 #303068 #683068
monochromatic
#0F150A #2D3E1D #4C6830 #6B9243 #89B55E

Accessibility & contrast

On white

6.31
#4C6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4C6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6830
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6830#FFFFFF#000000##FFFFFF
##4C68301.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612B
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#4D645B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c6830;
/* rgb */ color: rgb(76, 104, 48);
/* oklch */ color: oklch(48.1% 0.089 131.0);
Tailwind
colors: {
  custom: {
    50: '#80936a',
    500: '#4c6830',
    950: '#000000',
  },
}
SCSS
$custom: #4c6830;
$custom-light: #80936a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6830",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 90,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.08861,
    "h": 131
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#4C6830
secondary
#7A5A99
accent
#5BCD94
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4C6830

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

Preview Lab → · Contrast checker → · Palette generator →

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