#4D671D#4D671D

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

Color values

HEX#4D671D
RGBrgb(77, 103, 29)
HSLhsl(81, 56%, 26%)
HSVhsv(81, 72%, 40%)
CMYKcmyk(25.2%, 0%, 71.8%, 59.6%)
CIE-LABlab(40.19, -21.88, 36.96)
CIE-LCHlch(40.19, 42.95, 120.62°)
OKLaboklab(47.7% -0.0626 0.0837)
OKLCHoklch(47.7% 0.105 126.8)
XYZxyz(8.1326, 11.3668, 2.9277)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D671D #371D67
analogous
#675C1D #4D671D #28671D
triadic
#4D671D #1D4D67 #671D4D
tetradic
#4D671D #1D675C #371D67 #671D28
square
#4D671D #1D675C #371D67 #671D28
split-complementary
#4D671D #1D2867 #5C1D67
monochromatic
#121807 #293710 #4D671D #71972A #94C738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D671D#FFFFFF#000000##FFFFFF
##4D671D1.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)
#6D6012
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#506258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d671d;
/* rgb */ color: rgb(77, 103, 29);
/* oklch */ color: oklch(47.7% 0.105 126.8);
Tailwind
colors: {
  custom: {
    50: '#81925e',
    500: '#4d671d',
    950: '#000000',
  },
}
SCSS
$custom: #4d671d;
$custom-light: #81925e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d671d",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 81.081,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.10453,
    "h": 126.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#4D671D
secondary
#63449C
accent
#48DF7D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D671D

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

Preview Lab → · Contrast checker → · Palette generator →

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