#4E6C1F#4E6C1F

#4E6C1F is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.110 H 128.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4E6C1F
RGBrgb(78, 108, 31)
HSLhsl(83, 55%, 27%)
HSVhsv(83, 71%, 42%)
CMYKcmyk(27.8%, 0%, 71.3%, 57.6%)
CIE-LABlab(41.91, -23.84, 37.89)
CIE-LCHlch(41.91, 44.77, 122.18°)
OKLaboklab(49.11% -0.0679 0.086)
OKLCHoklch(49.11% 0.11 128.3)
XYZxyz(8.7518, 12.4436, 3.2368)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6C1F #3D1F6C
analogous
#6C641F #4E6C1F #276C1F
triadic
#4E6C1F #1F4E6C #6C1F4E
tetradic
#4E6C1F #1F6C64 #3D1F6C #6C1F27
square
#4E6C1F #1F6C64 #3D1F6C #6C1F27
split-complementary
#4E6C1F #1F276C #641F6C
monochromatic
#111807 #2C3C11 #4E6C1F #709C2D #92C83E

Accessibility & contrast

On white

6.02
#4E6C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4E6C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6C1F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6C1F#FFFFFF#000000##FFFFFF
##4E6C1F1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#51675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e6c1f;
/* rgb */ color: rgb(78, 108, 31);
/* oklch */ color: oklch(49.1% 0.110 128.3);
Tailwind
colors: {
  custom: {
    50: '#82965f',
    500: '#4e6c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6c1f;
$custom-light: #82965f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6c1f",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 83.377,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.10952,
    "h": 128.3
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#4E6C1F
secondary
#6A47A0
accent
#49DF83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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