#4D671C#4D671C

#4D671C is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.7% C 0.105 H 126.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4D671C
RGBrgb(77, 103, 28)
HSLhsl(81, 57%, 26%)
HSVhsv(81, 73%, 40%)
CMYKcmyk(25.2%, 0%, 72.8%, 59.6%)
CIE-LABlab(40.18, -21.95, 37.39)
CIE-LCHlch(40.18, 43.36, 120.42°)
OKLaboklab(47.69% -0.0629 0.0845)
OKLCHoklch(47.69% 0.105 126.7)
XYZxyz(8.1204, 11.3620, 2.8636)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D671C #361C67
analogous
#675B1C #4D671C #27671C
triadic
#4D671C #1C4D67 #671C4D
tetradic
#4D671C #1C675B #361C67 #671C27
square
#4D671C #1C675B #361C67 #671C27
split-complementary
#4D671C #1C2767 #5B1C67
monochromatic
#121807 #29370F #4D671C #719729 #95C736

Accessibility & contrast

On white

6.42
#4D671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D671C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D671C#FFFFFF#000000##FFFFFF
##4D671C1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6011
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#506258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d671c;
/* rgb */ color: rgb(77, 103, 28);
/* oklch */ color: oklch(47.7% 0.105 126.7);
Tailwind
colors: {
  custom: {
    50: '#81925d',
    500: '#4d671c',
    950: '#000000',
  },
}
SCSS
$custom: #4d671c;
$custom-light: #81925d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d671c",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 80.8,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.1053,
    "h": 126.7
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#4D671C
secondary
#62439C
accent
#47E17C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D671C

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

Preview Lab → · Contrast checker → · Palette generator →

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