#4D681B#4D681B

#4D681B is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 47.9% C 0.107 H 127.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4D681B
RGBrgb(77, 104, 27)
HSLhsl(81, 59%, 26%)
HSVhsv(81, 74%, 41%)
CMYKcmyk(26%, 0%, 74%, 59.2%)
CIE-LABlab(40.50, -22.54, 38.14)
CIE-LCHlch(40.50, 44.30, 120.58°)
OKLaboklab(47.95% -0.0646 0.0859)
OKLCHoklch(47.95% 0.107 127)
XYZxyz(8.2087, 11.5574, 2.8350)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D681B #361B68
analogous
#685C1B #4D681B #26681B
triadic
#4D681B #1B4D68 #681B4D
tetradic
#4D681B #1B685C #361B68 #681B26
square
#4D681B #1B685C #361B68 #681B26
split-complementary
#4D681B #1B2668 #5C1B68
monochromatic
#121806 #29370E #4D681B #719928 #95C934

Accessibility & contrast

On white

6.34
#4D681B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D681B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D681B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D681B#FFFFFF#000000##FFFFFF
##4D681B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610E
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#506359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d681b;
/* rgb */ color: rgb(77, 104, 27);
/* oklch */ color: oklch(47.9% 0.107 127.0);
Tailwind
colors: {
  custom: {
    50: '#81935d',
    500: '#4d681b',
    950: '#000000',
  },
}
SCSS
$custom: #4d681b;
$custom-light: #81935d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d681b",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 81.039,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47945,
    "c": 0.10745,
    "h": 127
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#4D681B
secondary
#62429D
accent
#46E27D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D681B

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

Preview Lab → · Contrast checker → · Palette generator →

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