#4E7C23#4E7C23

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

Color values

HEX#4E7C23
RGBrgb(78, 124, 35)
HSLhsl(91, 56%, 31%)
HSVhsv(91, 72%, 49%)
CMYKcmyk(37.1%, 0%, 71.8%, 51.4%)
CIE-LABlab(47.18, -31.25, 41.64)
CIE-LCHlch(47.18, 52.06, 126.89°)
OKLaboklab(53.41% -0.0877 0.0944)
OKLCHoklch(53.41% 0.129 132.9)
XYZxyz(10.6528, 16.1559, 4.1469)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C23 #51237C
analogous
#7A7C23 #4E7C23 #237C24
triadic
#4E7C23 #234E7C #7C234E
tetradic
#4E7C23 #237A7C #51237C #7C2423
square
#4E7C23 #237A7C #51237C #7C2423
split-complementary
#4E7C23 #24237C #7C237A
monochromatic
#121D08 #304C16 #4E7C23 #6CAC30 #8BCD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7C23#FFFFFF#000000##FFFFFF
##4E7C231.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)
#817215
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#4E776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c23;
/* rgb */ color: rgb(78, 124, 35);
/* oklch */ color: oklch(53.4% 0.129 132.9);
Tailwind
colors: {
  custom: {
    50: '#83a263',
    500: '#4e7c23',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c23;
$custom-light: #83a263;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c23",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 91.011,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.12889,
    "h": 132.9
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#4E7C23
secondary
#7F4CAF
accent
#49DF96
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C23

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

Preview Lab → · Contrast checker → · Palette generator →

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