#4E7C26#4E7C26

#4E7C26 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.127 H 133.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E7C26
RGBrgb(78, 124, 38)
HSLhsl(92, 53%, 32%)
HSVhsv(92, 69%, 49%)
CMYKcmyk(37.1%, 0%, 69.4%, 51.4%)
CIE-LABlab(47.20, -31.00, 40.38)
CIE-LCHlch(47.20, 50.91, 127.52°)
OKLaboklab(53.44% -0.0868 0.0922)
OKLCHoklch(53.44% 0.127 133.3)
XYZxyz(10.6992, 16.1745, 4.3916)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C26 #54267C
analogous
#797C26 #4E7C26 #267C29
triadic
#4E7C26 #264E7C #7C264E
tetradic
#4E7C26 #26797C #54267C #7C2926
square
#4E7C26 #26797C #54267C #7C2926
split-complementary
#4E7C26 #29267C #7C2679
monochromatic
#131E09 #314D18 #4E7C26 #6BAB34 #8ACA52

Accessibility & contrast

On white

4.96
#4E7C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E7C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C26
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C26#FFFFFF#000000##FFFFFF
##4E7C261.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#4E776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c26;
/* rgb */ color: rgb(78, 124, 38);
/* oklch */ color: oklch(53.4% 0.127 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a265',
    500: '#4e7c26',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c26;
$custom-light: #83a265;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c26",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 92.093,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.12665,
    "h": 133.3
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#4E7C26
secondary
#8250AE
accent
#4BDC99
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C26

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

Preview Lab → · Contrast checker → · Palette generator →

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