#4E6F2A#4E6F2A

#4E6F2A is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.104 H 130.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4E6F2A
RGBrgb(78, 111, 42)
HSLhsl(89, 45%, 30%)
HSVhsv(89, 62%, 44%)
CMYKcmyk(29.7%, 0%, 62.2%, 56.5%)
CIE-LABlab(43.00, -24.36, 33.92)
CIE-LCHlch(43.00, 41.76, 125.68°)
OKLaboklab(50.03% -0.0682 0.079)
OKLCHoklch(50.03% 0.104 130.8)
XYZxyz(9.2441, 13.1555, 4.2423)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6F2A #4B2A6F
analogous
#6F6E2A #4E6F2A #2B6F2A
triadic
#4E6F2A #2A4E6F #6F2A4E
tetradic
#4E6F2A #2A6F6E #4B2A6F #6F2A2B
square
#4E6F2A #2A6F6E #4B2A6F #6F2A2B
split-complementary
#4E6F2A #2A2B6F #6E2A6F
monochromatic
#101608 #2F4319 #4E6F2A #6D9B3B #8CBF55

Accessibility & contrast

On white

5.78
#4E6F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E6F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6F2A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6F2A#FFFFFF#000000##FFFFFF
##4E6F2A1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746723
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#506A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e6f2a;
/* rgb */ color: rgb(78, 111, 42);
/* oklch */ color: oklch(50.0% 0.104 130.8);
Tailwind
colors: {
  custom: {
    50: '#829866',
    500: '#4e6f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e6f2a;
$custom-light: #829866;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6f2a",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 88.696,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.10442,
    "h": 130.8
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#4E6F2A
secondary
#7954A1
accent
#53D591
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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