#4E7F26#4E7F26

#4E7F26 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.131 H 133.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4E7F26
RGBrgb(78, 127, 38)
HSLhsl(93, 54%, 32%)
HSVhsv(93, 70%, 50%)
CMYKcmyk(38.6%, 0%, 70.1%, 50.2%)
CIE-LABlab(48.18, -32.39, 41.41)
CIE-LCHlch(48.18, 52.57, 128.03°)
OKLaboklab(54.24% -0.0906 0.0944)
OKLCHoklch(54.24% 0.131 133.8)
XYZxyz(11.0809, 16.9379, 4.5188)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F26 #57267F
analogous
#7A7F26 #4E7F26 #267F2B
triadic
#4E7F26 #264E7F #7F264E
tetradic
#4E7F26 #267A7F #57267F #7F2B26
square
#4E7F26 #267A7F #57267F #7F2B26
split-complementary
#4E7F26 #2B267F #7F267A
monochromatic
#14210A #315018 #4E7F26 #6BAE34 #8ACC54

Accessibility & contrast

On white

4.79
#4E7F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E7F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F26
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F26#FFFFFF#000000##FFFFFF
##4E7F261.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#4E7A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f26;
/* rgb */ color: rgb(78, 127, 38);
/* oklch */ color: oklch(54.2% 0.131 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a465',
    500: '#4e7f26',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f26;
$custom-light: #84a465;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f26",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 93.034,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.13082,
    "h": 133.8
  },
  "luminance": 0.16938
}

Semantic roles & 50–950 ramp

primary
#4E7F26
secondary
#8551B0
accent
#4ADD9B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F26

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

Preview Lab → · Contrast checker → · Palette generator →

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