#4C671C#4C671C

#4C671C is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.106 H 127.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4C671C
RGBrgb(76, 103, 28)
HSLhsl(82, 57%, 26%)
HSVhsv(82, 73%, 40%)
CMYKcmyk(26.2%, 0%, 72.8%, 59.6%)
CIE-LABlab(40.12, -22.39, 37.30)
CIE-LCHlch(40.12, 43.50, 120.97°)
OKLaboklab(47.61% -0.064 0.0843)
OKLCHoklch(47.61% 0.106 127.2)
XYZxyz(8.0404, 11.3207, 2.8599)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C671C #371C67
analogous
#675C1C #4C671C #26671C
triadic
#4C671C #1C4C67 #671C4C
tetradic
#4C671C #1C675C #371C67 #671C26
square
#4C671C #1C675C #371C67 #671C26
split-complementary
#4C671C #1C2667 #5C1C67
monochromatic
#121807 #28370F #4C671C #709729 #93C736

Accessibility & contrast

On white

6.43
#4C671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4C671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C671C
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C671C#FFFFFF#000000##FFFFFF
##4C671C1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6011
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#4F6258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c671c;
/* rgb */ color: rgb(76, 103, 28);
/* oklch */ color: oklch(47.6% 0.106 127.2);
Tailwind
colors: {
  custom: {
    50: '#81925d',
    500: '#4c671c',
    950: '#000000',
  },
}
SCSS
$custom: #4c671c;
$custom-light: #81925d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c671c",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 81.6,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47614,
    "c": 0.10584,
    "h": 127.2
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#4C671C
secondary
#63439C
accent
#47E17E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4C671C

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

Preview Lab → · Contrast checker → · Palette generator →

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