#4E6525#4E6525

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

Color values

HEX#4E6525
RGBrgb(78, 101, 37)
HSLhsl(82, 46%, 27%)
HSVhsv(82, 63%, 40%)
CMYKcmyk(22.8%, 0%, 63.4%, 60.4%)
CIE-LABlab(39.68, -19.71, 32.68)
CIE-LCHlch(39.68, 38.16, 121.10°)
OKLaboklab(47.33% -0.0559 0.0758)
OKLCHoklch(47.33% 0.094 126.4)
XYZxyz(8.1295, 11.0605, 3.4565)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6525 #3C2565
analogous
#655C25 #4E6525 #2E6525
triadic
#4E6525 #254E65 #65254E
tetradic
#4E6525 #25655C #3C2565 #65252E
square
#4E6525 #25655C #3C2565 #65252E
split-complementary
#4E6525 #252E65 #5C2565
monochromatic
#111608 #2B3815 #4E6525 #719235 #92BC48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6525#FFFFFF#000000##FFFFFF
##4E65251.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)
#6A5E1E
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#516057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6525;
/* rgb */ color: rgb(78, 101, 37);
/* oklch */ color: oklch(47.3% 0.094 126.4);
Tailwind
colors: {
  custom: {
    50: '#819162',
    500: '#4e6525',
    950: '#000000',
  },
}
SCSS
$custom: #4e6525;
$custom-light: #819162;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6525",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 37
  },
  "hsl": {
    "h": 81.563,
    "s": 46.377,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.09416,
    "h": 126.4
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#4E6525
secondary
#684E98
accent
#52D681
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6525

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

Preview Lab → · Contrast checker → · Palette generator →

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