#4E6D1F#4E6D1F

#4E6D1F is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.111 H 128.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4E6D1F
RGBrgb(78, 109, 31)
HSLhsl(84, 56%, 27%)
HSVhsv(84, 72%, 43%)
CMYKcmyk(28.4%, 0%, 71.6%, 57.3%)
CIE-LABlab(42.24, -24.34, 38.23)
CIE-LCHlch(42.24, 45.32, 122.49°)
OKLaboklab(49.38% -0.0692 0.0867)
OKLCHoklch(49.38% 0.111 128.6)
XYZxyz(8.8578, 12.6557, 3.2722)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D1F #3E1F6D
analogous
#6D651F #4E6D1F #276D1F
triadic
#4E6D1F #1F4E6D #6D1F4E
tetradic
#4E6D1F #1F6D65 #3E1F6D #6D1F27
square
#4E6D1F #1F6D65 #3E1F6D #6D1F27
split-complementary
#4E6D1F #1F276D #651F6D
monochromatic
#111807 #2C3D11 #4E6D1F #709D2D #91C83E

Accessibility & contrast

On white

5.95
#4E6D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E6D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D1F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D1F#FFFFFF#000000##FFFFFF
##4E6D1F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726514
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#51685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d1f;
/* rgb */ color: rgb(78, 109, 31);
/* oklch */ color: oklch(49.4% 0.111 128.6);
Tailwind
colors: {
  custom: {
    50: '#82975f',
    500: '#4e6d1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d1f;
$custom-light: #82975f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d1f",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 83.846,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.11093,
    "h": 128.6
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#4E6D1F
secondary
#6B47A1
accent
#49DF84
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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