#4E8123#4E8123

#4E8123 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.136 H 133.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E8123
RGBrgb(78, 129, 35)
HSLhsl(93, 57%, 32%)
HSVhsv(93, 73%, 51%)
CMYKcmyk(39.5%, 0%, 72.9%, 49.4%)
CIE-LABlab(48.81, -33.53, 43.31)
CIE-LCHlch(48.81, 54.78, 127.75°)
OKLaboklab(54.74% -0.094 0.0979)
OKLCHoklch(54.74% 0.136 133.8)
XYZxyz(11.2953, 17.4410, 4.3611)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8123 #562381
analogous
#7D8123 #4E8123 #238127
triadic
#4E8123 #234E81 #81234E
tetradic
#4E8123 #237D81 #562381 #812723
square
#4E8123 #237D81 #562381 #812723
split-complementary
#4E8123 #272381 #81237D
monochromatic
#142109 #315116 #4E8123 #6BB130 #8ACF4F

Accessibility & contrast

On white

4.68
#4E8123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E8123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8123
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8123#FFFFFF#000000##FFFFFF
##4E81231.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867714
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#4E7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8123;
/* rgb */ color: rgb(78, 129, 35);
/* oklch */ color: oklch(54.7% 0.136 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a664',
    500: '#4e8123',
    950: '#000000',
  },
}
SCSS
$custom: #4e8123;
$custom-light: #84a664;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8123",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 92.553,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.13571,
    "h": 133.8
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#4E8123
secondary
#844DB3
accent
#47E19A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8123

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

Preview Lab → · Contrast checker → · Palette generator →

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