#4E6925#4E6925

#4E6925 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.100 H 128.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E6925
RGBrgb(78, 105, 37)
HSLhsl(84, 48%, 28%)
HSVhsv(84, 65%, 41%)
CMYKcmyk(25.7%, 0%, 64.8%, 58.8%)
CIE-LABlab(40.99, -21.80, 34.13)
CIE-LCHlch(40.99, 40.49, 122.57°)
OKLaboklab(48.38% -0.0617 0.0789)
OKLCHoklch(48.38% 0.1 128)
XYZxyz(8.5274, 11.8563, 3.5891)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6925 #402569
analogous
#696225 #4E6925 #2C6925
triadic
#4E6925 #254E69 #69254E
tetradic
#4E6925 #256962 #402569 #69252C
square
#4E6925 #256962 #402569 #69252C
split-complementary
#4E6925 #252C69 #622569
monochromatic
#111708 #2C3C15 #4E6925 #709635 #90BF49

Accessibility & contrast

On white

6.23
#4E6925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E6925 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6925
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6925#FFFFFF#000000##FFFFFF
##4E69251.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E621D
Deuteranopia (green-blind)
#6A602A
Tritanopia (blue-blind)
#51645B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6925;
/* rgb */ color: rgb(78, 105, 37);
/* oklch */ color: oklch(48.4% 0.100 128.0);
Tailwind
colors: {
  custom: {
    50: '#829463',
    500: '#4e6925',
    950: '#000000',
  },
}
SCSS
$custom: #4e6925;
$custom-light: #829463;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6925",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 37
  },
  "hsl": {
    "h": 83.824,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.1001,
    "h": 128
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#4E6925
secondary
#6D4E9C
accent
#50D786
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #4E6925

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

Preview Lab → · Contrast checker → · Palette generator →

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