#4E6B1F#4E6B1F

#4E6B1F is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.108 H 128.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4E6B1F
RGBrgb(78, 107, 31)
HSLhsl(83, 55%, 27%)
HSVhsv(83, 71%, 42%)
CMYKcmyk(27.1%, 0%, 71%, 58%)
CIE-LABlab(41.59, -23.34, 37.55)
CIE-LCHlch(41.59, 44.21, 121.86°)
OKLaboklab(48.85% -0.0665 0.0852)
OKLCHoklch(48.85% 0.108 128)
XYZxyz(8.6469, 12.2338, 3.2019)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6B1F #3C1F6B
analogous
#6B621F #4E6B1F #286B1F
triadic
#4E6B1F #1F4E6B #6B1F4E
tetradic
#4E6B1F #1F6B62 #3C1F6B #6B1F28
square
#4E6B1F #1F6B62 #3C1F6B #6B1F28
split-complementary
#4E6B1F #1F286B #621F6B
monochromatic
#111807 #2B3C11 #4E6B1F #719A2D #92C73D

Accessibility & contrast

On white

6.09
#4E6B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4E6B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6B1F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6B1F#FFFFFF#000000##FFFFFF
##4E6B1F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#6C6225
Tritanopia (blue-blind)
#51665C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e6b1f;
/* rgb */ color: rgb(78, 107, 31);
/* oklch */ color: oklch(48.8% 0.108 128.0);
Tailwind
colors: {
  custom: {
    50: '#82955f',
    500: '#4e6b1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6b1f;
$custom-light: #82955f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6b1f",
  "rgb": {
    "r": 78,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 82.895,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.1081,
    "h": 128
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#4E6B1F
secondary
#68479F
accent
#49DE82
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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