#4E6526#4E6526

#4E6526 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.3% C 0.093 H 126.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E6526
RGBrgb(78, 101, 38)
HSLhsl(82, 45%, 27%)
HSVhsv(82, 62%, 40%)
CMYKcmyk(22.8%, 0%, 62.4%, 60.4%)
CIE-LABlab(39.69, -19.61, 32.19)
CIE-LCHlch(39.69, 37.69, 121.36°)
OKLaboklab(47.34% -0.0555 0.0749)
OKLCHoklch(47.34% 0.093 126.6)
XYZxyz(8.1454, 11.0669, 3.5403)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6526 #3D2665
analogous
#655D26 #4E6526 #2E6526
triadic
#4E6526 #264E65 #65264E
tetradic
#4E6526 #26655D #3D2665 #65262E
square
#4E6526 #26655D #3D2665 #65262E
split-complementary
#4E6526 #262E65 #5D2665
monochromatic
#111608 #2C3915 #4E6526 #709137 #92BB4A

Accessibility & contrast

On white

6.54
#4E6526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E6526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6526
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6526#FFFFFF#000000##FFFFFF
##4E65261.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1F
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#516057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6526;
/* rgb */ color: rgb(78, 101, 38);
/* oklch */ color: oklch(47.3% 0.093 126.6);
Tailwind
colors: {
  custom: {
    50: '#819163',
    500: '#4e6526',
    950: '#000000',
  },
}
SCSS
$custom: #4e6526;
$custom-light: #819163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6526",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 38
  },
  "hsl": {
    "h": 81.905,
    "s": 45.324,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47338,
    "c": 0.0932,
    "h": 126.6
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#4E6526
secondary
#6A4F98
accent
#53D582
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4E6526

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

Preview Lab → · Contrast checker → · Palette generator →

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