#4E8114#4E8114

#4E8114 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.144 H 132.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E8114
RGBrgb(78, 129, 20)
HSLhsl(88, 73%, 29%)
HSVhsv(88, 84%, 51%)
CMYKcmyk(39.5%, 0%, 84.5%, 49.4%)
CIE-LABlab(48.72, -34.45, 48.44)
CIE-LCHlch(48.72, 59.44, 125.42°)
OKLaboklab(54.64% -0.0975 0.1063)
OKLCHoklch(54.64% 0.144 132.5)
XYZxyz(11.1183, 17.3702, 3.4286)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8114 #471481
analogous
#817E14 #4E8114 #188114
triadic
#4E8114 #144E81 #81144E
tetradic
#4E8114 #14817E #471481 #811418
square
#4E8114 #14817E #471481 #811418
split-complementary
#4E8114 #141881 #7E1481
monochromatic
#101A04 #2E4C0C #4E8114 #6EB61C #8DDF30

Accessibility & contrast

On white

4.69
#4E8114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4E8114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8114
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8114#FFFFFF#000000##FFFFFF
##4E81141.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#4F7B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8114;
/* rgb */ color: rgb(78, 129, 20);
/* oklch */ color: oklch(54.6% 0.144 132.5);
Tailwind
colors: {
  custom: {
    50: '#85a65d',
    500: '#4e8114',
    950: '#000000',
  },
}
SCSS
$custom: #4e8114;
$custom-light: #85a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8114",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 88.073,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.14423,
    "h": 132.5
  },
  "luminance": 0.17371
}

Semantic roles & 50–950 ramp

primary
#4E8114
secondary
#743BB6
accent
#38F08E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E8114

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

Preview Lab → · Contrast checker → · Palette generator →

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