#4E682F#4E682F

#4E682F is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.089 H 129.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4E682F
RGBrgb(78, 104, 47)
HSLhsl(87, 38%, 30%)
HSVhsv(87, 55%, 41%)
CMYKcmyk(25%, 0%, 54.8%, 59.2%)
CIE-LABlab(40.78, -20.21, 28.75)
CIE-LCHlch(40.78, 35.14, 125.11°)
OKLaboklab(48.25% -0.0563 0.0684)
OKLCHoklch(48.25% 0.089 129.5)
XYZxyz(8.6052, 11.7254, 4.4986)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E682F #492F68
analogous
#68652F #4E682F #32682F
triadic
#4E682F #2F4E68 #682F4E
tetradic
#4E682F #2F6865 #492F68 #682F32
square
#4E682F #2F6865 #492F68 #682F32
split-complementary
#4E682F #2F3268 #652F68
monochromatic
#10150A #2E3E1C #4E682F #6E9242 #8DB55C

Accessibility & contrast

On white

6.28
#4E682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E682F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E682F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E682F#FFFFFF#000000##FFFFFF
##4E682F1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D612A
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#50645B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e682f;
/* rgb */ color: rgb(78, 104, 47);
/* oklch */ color: oklch(48.2% 0.089 129.5);
Tailwind
colors: {
  custom: {
    50: '#819369',
    500: '#4e682f',
    950: '#000000',
  },
}
SCSS
$custom: #4e682f;
$custom-light: #819369;
$custom-dark: #000000;
JSON
{
  "hex": "#4e682f",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 87.368,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48249,
    "c": 0.08858,
    "h": 129.5
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#4E682F
secondary
#775999
accent
#5ACE8F
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E682F

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

Preview Lab → · Contrast checker → · Palette generator →

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