#4E6F28#4E6F28

#4E6F28 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.106 H 130.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4E6F28
RGBrgb(78, 111, 40)
HSLhsl(88, 47%, 30%)
HSVhsv(88, 64%, 44%)
CMYKcmyk(29.7%, 0%, 64%, 56.5%)
CIE-LABlab(42.98, -24.56, 34.87)
CIE-LCHlch(42.98, 42.65, 125.15°)
OKLaboklab(50% -0.069 0.0808)
OKLCHoklch(50% 0.106 130.5)
XYZxyz(9.2092, 13.1415, 4.0584)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6F28 #49286F
analogous
#6F6D28 #4E6F28 #2B6F28
triadic
#4E6F28 #284E6F #6F284E
tetradic
#4E6F28 #286F6D #49286F #6F282B
square
#4E6F28 #286F6D #49286F #6F282B
split-complementary
#4E6F28 #282B6F #6D286F
monochromatic
#101608 #2E4218 #4E6F28 #6E9C38 #8DC051

Accessibility & contrast

On white

5.79
#4E6F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E6F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6F28
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6F28#FFFFFF#000000##FFFFFF
##4E6F281.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6F652D
Tritanopia (blue-blind)
#506A60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e6f28;
/* rgb */ color: rgb(78, 111, 40);
/* oklch */ color: oklch(50.0% 0.106 130.5);
Tailwind
colors: {
  custom: {
    50: '#829865',
    500: '#4e6f28',
    950: '#000000',
  },
}
SCSS
$custom: #4e6f28;
$custom-light: #829865;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6f28",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 87.887,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.10626,
    "h": 130.5
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#4E6F28
secondary
#7751A1
accent
#51D78F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6F28

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

Preview Lab → · Contrast checker → · Palette generator →

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