#4D671A#4D671A

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

Color values

HEX#4D671A
RGBrgb(77, 103, 26)
HSLhsl(80, 60%, 25%)
HSVhsv(80, 75%, 40%)
CMYKcmyk(25.2%, 0%, 74.8%, 59.6%)
CIE-LABlab(40.17, -22.10, 38.22)
CIE-LCHlch(40.17, 44.15, 120.03°)
OKLaboklab(47.67% -0.0635 0.0859)
OKLCHoklch(47.67% 0.107 126.5)
XYZxyz(8.0973, 11.3527, 2.7418)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D671A #341A67
analogous
#675A1A #4D671A #26671A
triadic
#4D671A #1A4D67 #671A4D
tetradic
#4D671A #1A675A #341A67 #671A26
square
#4D671A #1A675A #341A67 #671A26
split-complementary
#4D671A #1A2667 #5A1A67
monochromatic
#121806 #28360E #4D671A #729826 #96C933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D671A#FFFFFF#000000##FFFFFF
##4D671A1.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)
#6D600D
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#506258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d671a;
/* rgb */ color: rgb(77, 103, 26);
/* oklch */ color: oklch(47.7% 0.107 126.5);
Tailwind
colors: {
  custom: {
    50: '#81925c',
    500: '#4d671a',
    950: '#000000',
  },
}
SCSS
$custom: #4d671a;
$custom-light: #81925c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d671a",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 80.26,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.10678,
    "h": 126.5
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#4D671A
secondary
#5F409D
accent
#45E37A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D671A

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

Preview Lab → · Contrast checker → · Palette generator →

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