#4E6227#4E6227

#4E6227 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.088 H 125.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4E6227
RGBrgb(78, 98, 39)
HSLhsl(80, 43%, 27%)
HSVhsv(80, 60%, 38%)
CMYKcmyk(20.4%, 0%, 60.2%, 61.6%)
CIE-LABlab(38.73, -17.91, 30.58)
CIE-LCHlch(38.73, 35.44, 120.36°)
OKLaboklab(46.56% -0.0507 0.0715)
OKLCHoklch(46.56% 0.088 125.3)
XYZxyz(7.8758, 10.5015, 3.5311)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6227 #3B2762
analogous
#625927 #4E6227 #316227
triadic
#4E6227 #274E62 #62274E
tetradic
#4E6227 #276259 #3B2762 #622731
square
#4E6227 #276259 #3B2762 #622731
split-complementary
#4E6227 #273162 #592762
monochromatic
#111609 #2B3616 #4E6227 #718E38 #93B84C

Accessibility & contrast

On white

6.77
#4E6227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E6227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6227
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6227#FFFFFF#000000##FFFFFF
##4E62271.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C21
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#515E55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6227;
/* rgb */ color: rgb(78, 98, 39);
/* oklch */ color: oklch(46.6% 0.088 125.3);
Tailwind
colors: {
  custom: {
    50: '#818e63',
    500: '#4e6227',
    950: '#000000',
  },
}
SCSS
$custom: #4e6227;
$custom-light: #818e63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6227",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 80.339,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.08767,
    "h": 125.3
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#4E6227
secondary
#675095
accent
#55D380
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4E6227

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

Preview Lab → · Contrast checker → · Palette generator →

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