#4C671D#4C671D

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

Color values

HEX#4C671D
RGBrgb(76, 103, 29)
HSLhsl(82, 56%, 26%)
HSVhsv(82, 72%, 40%)
CMYKcmyk(26.2%, 0%, 71.8%, 59.6%)
CIE-LABlab(40.12, -22.31, 36.87)
CIE-LCHlch(40.12, 43.10, 121.18°)
OKLaboklab(47.62% -0.0637 0.0835)
OKLCHoklch(47.62% 0.105 127.3)
XYZxyz(8.0525, 11.3256, 2.9240)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C671D #381D67
analogous
#675D1D #4C671D #27671D
triadic
#4C671D #1D4C67 #671D4C
tetradic
#4C671D #1D675D #381D67 #671D27
square
#4C671D #1D675D #381D67 #671D27
split-complementary
#4C671D #1D2767 #5D1D67
monochromatic
#121807 #293710 #4C671D #6F972A #92C738

Accessibility & contrast

On white

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

On black

3.27
#4C671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C671D#FFFFFF#000000##FFFFFF
##4C671D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c671d;
/* rgb */ color: rgb(76, 103, 29);
/* oklch */ color: oklch(47.6% 0.105 127.3);
Tailwind
colors: {
  custom: {
    50: '#81925e',
    500: '#4c671d',
    950: '#000000',
  },
}
SCSS
$custom: #4c671d;
$custom-light: #81925e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c671d",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 81.892,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.10507,
    "h": 127.3
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#4C671D
secondary
#64449C
accent
#48DF80
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4C671D

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

Preview Lab → · Contrast checker → · Palette generator →

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