#4E6A0F#4E6A0F

#4E6A0F is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.117 H 126.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4E6A0F
RGBrgb(78, 106, 15)
HSLhsl(78, 75%, 24%)
HSVhsv(78, 86%, 42%)
CMYKcmyk(26.4%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.16, -23.80, 43.11)
CIE-LCHlch(41.16, 49.24, 118.91°)
OKLaboklab(48.47% -0.0691 0.0942)
OKLCHoklch(48.47% 0.117 126.3)
XYZxyz(8.3822, 11.9621, 2.3191)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6A0F #2B0F6A
analogous
#6A580F #4E6A0F #206A0F
triadic
#4E6A0F #0F4E6A #6A0F4E
tetradic
#4E6A0F #0F6A58 #2B0F6A #6A0F20
square
#4E6A0F #0F6A58 #2B0F6A #6A0F20
split-complementary
#4E6A0F #0F206A #580F6A
monochromatic
#141B04 #273407 #4E6A0F #75A017 #9DD51E

Accessibility & contrast

On white

6.19
#4E6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6A0F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6A0F#FFFFFF#000000##FFFFFF
##4E6A0F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6C6119
Tritanopia (blue-blind)
#52655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6a0f;
/* rgb */ color: rgb(78, 106, 15);
/* oklch */ color: oklch(48.5% 0.117 126.3);
Tailwind
colors: {
  custom: {
    50: '#839457',
    500: '#4e6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4e6a0f;
$custom-light: #839457;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6a0f",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 78.462,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48468,
    "c": 0.11682,
    "h": 126.3
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#4E6A0F
secondary
#5532A2
accent
#36F270
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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