#4D641B#4D641B

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

Color values

HEX#4D641B
RGBrgb(77, 100, 27)
HSLhsl(79, 57%, 25%)
HSVhsv(79, 73%, 39%)
CMYKcmyk(23%, 0%, 73%, 60.8%)
CIE-LABlab(39.19, -20.47, 36.81)
CIE-LCHlch(39.19, 42.12, 119.08°)
OKLaboklab(46.88% -0.0589 0.0831)
OKLCHoklch(46.88% 0.102 125.4)
XYZxyz(7.8156, 10.7712, 2.7040)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D641B #321B64
analogous
#64561B #4D641B #29641B
triadic
#4D641B #1B4D64 #641B4D
tetradic
#4D641B #1B6456 #321B64 #641B29
square
#4D641B #1B6456 #321B64 #641B29
split-complementary
#4D641B #1B2964 #561B64
monochromatic
#131807 #28340E #4D641B #729428 #97C435

Accessibility & contrast

On white

6.66
#4D641B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4D641B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D641B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D641B#FFFFFF#000000##FFFFFF
##4D641B1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D10
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#515F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d641b;
/* rgb */ color: rgb(77, 100, 27);
/* oklch */ color: oklch(46.9% 0.102 125.4);
Tailwind
colors: {
  custom: {
    50: '#81905c',
    500: '#4d641b',
    950: '#000000',
  },
}
SCSS
$custom: #4d641b;
$custom-light: #81905c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d641b",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 78.904,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.10184,
    "h": 125.4
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#4D641B
secondary
#5D4199
accent
#47E177
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D641B

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

Preview Lab → · Contrast checker → · Palette generator →

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