#4D671F#4D671F

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

Color values

HEX#4D671F
RGBrgb(77, 103, 31)
HSLhsl(82, 54%, 26%)
HSVhsv(82, 70%, 40%)
CMYKcmyk(25.2%, 0%, 69.9%, 59.6%)
CIE-LABlab(40.21, -21.72, 36.09)
CIE-LCHlch(40.21, 42.12, 121.04°)
OKLaboklab(47.72% -0.062 0.0822)
OKLCHoklch(47.72% 0.103 127)
XYZxyz(8.1581, 11.3771, 3.0622)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D671F #391F67
analogous
#675D1F #4D671F #29671F
triadic
#4D671F #1F4D67 #671F4D
tetradic
#4D671F #1F675D #391F67 #671F29
square
#4D671F #1F675D #391F67 #671F29
split-complementary
#4D671F #1F2967 #5D1F67
monochromatic
#121807 #2A3811 #4D671F #70962D #93C43C

Accessibility & contrast

On white

6.41
#4D671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4D671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D671F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D671F#FFFFFF#000000##FFFFFF
##4D671F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d671f;
/* rgb */ color: rgb(77, 103, 31);
/* oklch */ color: oklch(47.7% 0.103 127.0);
Tailwind
colors: {
  custom: {
    50: '#81925f',
    500: '#4d671f',
    950: '#000000',
  },
}
SCSS
$custom: #4d671f;
$custom-light: #81925f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d671f",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 81.667,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.10293,
    "h": 127
  },
  "luminance": 0.11377
}

Semantic roles & 50–950 ramp

primary
#4D671F
secondary
#65469B
accent
#4BDD80
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4D671F

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

Preview Lab → · Contrast checker → · Palette generator →

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