#4C682F#4C682F

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

Color values

HEX#4C682F
RGBrgb(76, 104, 47)
HSLhsl(89, 38%, 30%)
HSVhsv(89, 55%, 41%)
CMYKcmyk(26.9%, 0%, 54.8%, 59.2%)
CIE-LABlab(40.64, -21.04, 28.56)
CIE-LCHlch(40.64, 35.47, 126.39°)
OKLaboklab(48.11% -0.0585 0.068)
OKLCHoklch(48.11% 0.09 130.7)
XYZxyz(8.4438, 11.6422, 4.4911)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C682F #4B2F68
analogous
#68682F #4C682F #30682F
triadic
#4C682F #2F4C68 #682F4C
tetradic
#4C682F #2F6868 #4B2F68 #682F30
square
#4C682F #2F6868 #4B2F68 #682F30
split-complementary
#4C682F #2F3068 #682F68
monochromatic
#0F150A #2D3E1C #4C682F #6B9242 #89B55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C682F#FFFFFF#000000##FFFFFF
##4C682F1.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)
#6C612A
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#4D645B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c682f;
/* rgb */ color: rgb(76, 104, 47);
/* oklch */ color: oklch(48.1% 0.090 130.7);
Tailwind
colors: {
  custom: {
    50: '#809369',
    500: '#4c682f',
    950: '#000000',
  },
}
SCSS
$custom: #4c682f;
$custom-light: #809369;
$custom-dark: #000000;
JSON
{
  "hex": "#4c682f",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 89.474,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.08969,
    "h": 130.7
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#4C682F
secondary
#795999
accent
#5ACE93
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4C682F

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

Preview Lab → · Contrast checker → · Palette generator →

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