#4D671B#4D671B

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

Color values

HEX#4D671B
RGBrgb(77, 103, 27)
HSLhsl(81, 58%, 25%)
HSVhsv(81, 74%, 40%)
CMYKcmyk(25.2%, 0%, 73.8%, 59.6%)
CIE-LABlab(40.18, -22.03, 37.81)
CIE-LCHlch(40.18, 43.76, 120.22°)
OKLaboklab(47.68% -0.0632 0.0852)
OKLCHoklch(47.68% 0.106 126.6)
XYZxyz(8.1087, 11.3573, 2.8017)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D671B #351B67
analogous
#675B1B #4D671B #27671B
triadic
#4D671B #1B4D67 #671B4D
tetradic
#4D671B #1B675B #351B67 #671B27
square
#4D671B #1B675B #351B67 #671B27
split-complementary
#4D671B #1B2767 #5B1B67
monochromatic
#121806 #29370E #4D671B #719728 #95C834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4d671b;
/* rgb */ color: rgb(77, 103, 27);
/* oklch */ color: oklch(47.7% 0.106 126.6);
Tailwind
colors: {
  custom: {
    50: '#81925d',
    500: '#4d671b',
    950: '#000000',
  },
}
SCSS
$custom: #4d671b;
$custom-light: #81925d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d671b",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 80.526,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.10605,
    "h": 126.6
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#4D671B
secondary
#61429C
accent
#46E27B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D671B

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

Preview Lab → · Contrast checker → · Palette generator →

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