#4E6627#4E6627

#4E6627 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.094 H 127.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4E6627
RGBrgb(78, 102, 39)
HSLhsl(83, 45%, 28%)
HSVhsv(83, 62%, 40%)
CMYKcmyk(23.5%, 0%, 61.8%, 60%)
CIE-LABlab(40.03, -20.04, 32.06)
CIE-LCHlch(40.03, 37.81, 122.01°)
OKLaboklab(47.61% -0.0566 0.0747)
OKLCHoklch(47.61% 0.094 127.1)
XYZxyz(8.2595, 11.2688, 3.6590)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6627 #3F2766
analogous
#665E27 #4E6627 #2E6627
triadic
#4E6627 #274E66 #66274E
tetradic
#4E6627 #27665E #3F2766 #66272E
square
#4E6627 #27665E #3F2766 #66272E
split-complementary
#4E6627 #272E66 #5E2766
monochromatic
#111608 #2C3A16 #4E6627 #709238 #91BB4D

Accessibility & contrast

On white

6.45
#4E6627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E6627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6627
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6627#FFFFFF#000000##FFFFFF
##4E66271.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F20
Deuteranopia (green-blind)
#685E2B
Tritanopia (blue-blind)
#516158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6627;
/* rgb */ color: rgb(78, 102, 39);
/* oklch */ color: oklch(47.6% 0.094 127.1);
Tailwind
colors: {
  custom: {
    50: '#819164',
    500: '#4e6627',
    950: '#000000',
  },
}
SCSS
$custom: #4e6627;
$custom-light: #819164;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6627",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 39
  },
  "hsl": {
    "h": 82.857,
    "s": 44.681,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47614,
    "c": 0.09373,
    "h": 127.1
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#4E6627
secondary
#6C5099
accent
#53D485
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0D05
muted
#7C7D7A

Preview Lab

Preview with #4E6627

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

Preview Lab → · Contrast checker → · Palette generator →

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