#4E6F1F#4E6F1F

#4E6F1F is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.114 H 129.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4E6F1F
RGBrgb(78, 111, 31)
HSLhsl(85, 56%, 28%)
HSVhsv(85, 72%, 44%)
CMYKcmyk(29.7%, 0%, 72.1%, 56.5%)
CIE-LABlab(42.89, -25.34, 38.91)
CIE-LCHlch(42.89, 46.43, 123.07°)
OKLaboklab(49.91% -0.072 0.0881)
OKLCHoklch(49.91% 0.114 129.2)
XYZxyz(9.0736, 13.0873, 3.3441)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6F1F #401F6F
analogous
#6F681F #4E6F1F #266F1F
triadic
#4E6F1F #1F4E6F #6F1F4E
tetradic
#4E6F1F #1F6F68 #401F6F #6F1F26
square
#4E6F1F #1F6F68 #401F6F #6F1F26
split-complementary
#4E6F1F #1F266F #681F6F
monochromatic
#111807 #2C3F12 #4E6F1F #709F2C #90C93F

Accessibility & contrast

On white

5.80
#4E6F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E6F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6F1F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6F1F#FFFFFF#000000##FFFFFF
##4E6F1F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746713
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#506A5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e6f1f;
/* rgb */ color: rgb(78, 111, 31);
/* oklch */ color: oklch(49.9% 0.114 129.2);
Tailwind
colors: {
  custom: {
    50: '#829860',
    500: '#4e6f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6f1f;
$custom-light: #829860;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6f1f",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 84.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.11375,
    "h": 129.2
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#4E6F1F
secondary
#6D47A3
accent
#48E087
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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