#4D641F#4D641F

#4D641F is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.099 H 125.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4D641F
RGBrgb(77, 100, 31)
HSLhsl(80, 53%, 26%)
HSVhsv(80, 69%, 39%)
CMYKcmyk(23%, 0%, 69%, 60.8%)
CIE-LABlab(39.23, -20.16, 35.05)
CIE-LCHlch(39.23, 40.43, 119.91°)
OKLaboklab(46.92% -0.0577 0.08)
OKLCHoklch(46.92% 0.099 125.8)
XYZxyz(7.8651, 10.7910, 2.9646)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D641F #361F64
analogous
#64581F #4D641F #2A641F
triadic
#4D641F #1F4D64 #641F4D
tetradic
#4D641F #1F6458 #361F64 #641F2A
square
#4D641F #1F6458 #361F64 #641F2A
split-complementary
#4D641F #1F2A64 #581F64
monochromatic
#121707 #293511 #4D641F #71932D #95C13C

Accessibility & contrast

On white

6.65
#4D641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D641F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D641F#FFFFFF#000000##FFFFFF
##4D641F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#505F56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d641f;
/* rgb */ color: rgb(77, 100, 31);
/* oklch */ color: oklch(46.9% 0.099 125.8);
Tailwind
colors: {
  custom: {
    50: '#81905e',
    500: '#4d641f',
    950: '#000000',
  },
}
SCSS
$custom: #4d641f;
$custom-light: #81905e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d641f",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 80,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.09861,
    "h": 125.8
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#4D641F
secondary
#624698
accent
#4CDC7C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4D641F

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

Preview Lab → · Contrast checker → · Palette generator →

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