#4E6F1C#4E6F1C

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

Color values

HEX#4E6F1C
RGBrgb(78, 111, 28)
HSLhsl(84, 60%, 27%)
HSVhsv(84, 75%, 44%)
CMYKcmyk(29.7%, 0%, 74.8%, 56.5%)
CIE-LABlab(42.87, -25.56, 40.14)
CIE-LCHlch(42.87, 47.58, 122.49°)
OKLaboklab(49.89% -0.0728 0.0902)
OKLCHoklch(49.89% 0.116 128.9)
XYZxyz(9.0359, 13.0722, 3.1455)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6F1C #3D1C6F
analogous
#6F661C #4E6F1C #256F1C
triadic
#4E6F1C #1C4E6F #6F1C4E
tetradic
#4E6F1C #1C6F66 #3D1C6F #6F1C25
square
#4E6F1C #1C6F66 #3D1C6F #6F1C25
split-complementary
#4E6F1C #1C256F #661C6F
monochromatic
#111806 #2C3E10 #4E6F1C #70A028 #92CD38

Accessibility & contrast

On white

5.81
#4E6F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4E6F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6F1C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6F1C#FFFFFF#000000##FFFFFF
##4E6F1C1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670E
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#516A5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e6f1c;
/* rgb */ color: rgb(78, 111, 28);
/* oklch */ color: oklch(49.9% 0.116 128.9);
Tailwind
colors: {
  custom: {
    50: '#83985e',
    500: '#4e6f1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e6f1c;
$custom-light: #83985e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6f1c",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 83.855,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.11592,
    "h": 128.9
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#4E6F1C
secondary
#6A43A4
accent
#45E384
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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