#4C672F#4C672F

#4C672F is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.088 H 130.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4C672F
RGBrgb(76, 103, 47)
HSLhsl(89, 37%, 29%)
HSVhsv(89, 54%, 40%)
CMYKcmyk(26.2%, 0%, 54.4%, 59.6%)
CIE-LABlab(40.32, -20.52, 28.16)
CIE-LCHlch(40.32, 34.85, 126.08°)
OKLaboklab(47.84% -0.0571 0.0671)
OKLCHoklch(47.84% 0.088 130.4)
XYZxyz(8.3437, 11.4420, 4.4577)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C672F #4A2F67
analogous
#67662F #4C672F #30672F
triadic
#4C672F #2F4C67 #672F4C
tetradic
#4C672F #2F6766 #4A2F67 #672F30
square
#4C672F #2F6766 #4A2F67 #672F30
split-complementary
#4C672F #2F3067 #662F67
monochromatic
#10150A #2D3D1C #4C672F #6B9142 #8AB55C

Accessibility & contrast

On white

6.39
#4C672F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4C672F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C672F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C672F#FFFFFF#000000##FFFFFF
##4C672F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602A
Deuteranopia (green-blind)
#675E33
Tritanopia (blue-blind)
#4E635A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c672f;
/* rgb */ color: rgb(76, 103, 47);
/* oklch */ color: oklch(47.8% 0.088 130.4);
Tailwind
colors: {
  custom: {
    50: '#809269',
    500: '#4c672f',
    950: '#000000',
  },
}
SCSS
$custom: #4c672f;
$custom-light: #809269;
$custom-dark: #000000;
JSON
{
  "hex": "#4c672f",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 47
  },
  "hsl": {
    "h": 88.929,
    "s": 37.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.08809,
    "h": 130.4
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#4C672F
secondary
#785998
accent
#5ACD92
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4C672F

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

Preview Lab → · Contrast checker → · Palette generator →

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