#4D681F#4D681F

#4D681F is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.104 H 127.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4D681F
RGBrgb(77, 104, 31)
HSLhsl(82, 54%, 26%)
HSVhsv(82, 70%, 41%)
CMYKcmyk(26%, 0%, 70.2%, 59.2%)
CIE-LABlab(40.54, -22.23, 36.43)
CIE-LCHlch(40.54, 42.68, 121.39°)
OKLaboklab(47.98% -0.0634 0.0829)
OKLCHoklch(47.98% 0.104 127.4)
XYZxyz(8.2582, 11.5772, 3.0956)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D681F #3A1F68
analogous
#685F1F #4D681F #29681F
triadic
#4D681F #1F4D68 #681F4D
tetradic
#4D681F #1F685F #3A1F68 #681F29
square
#4D681F #1F685F #3A1F68 #681F29
split-complementary
#4D681F #1F2968 #5F1F68
monochromatic
#111807 #2A3911 #4D681F #70972D #92C53C

Accessibility & contrast

On white

6.33
#4D681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4D681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D681F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D681F#FFFFFF#000000##FFFFFF
##4D681F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6115
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#506359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d681f;
/* rgb */ color: rgb(77, 104, 31);
/* oklch */ color: oklch(48.0% 0.104 127.4);
Tailwind
colors: {
  custom: {
    50: '#81935f',
    500: '#4d681f',
    950: '#000000',
  },
}
SCSS
$custom: #4d681f;
$custom-light: #81935f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d681f",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 82.192,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.10436,
    "h": 127.4
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#4D681F
secondary
#66469C
accent
#4ADD81
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4D681F

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

Preview Lab → · Contrast checker → · Palette generator →

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