#4E8231#4E8231

#4E8231 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.126 H 136.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4E8231
RGBrgb(78, 130, 49)
HSLhsl(99, 45%, 35%)
HSVhsv(99, 62%, 51%)
CMYKcmyk(40%, 0%, 62.3%, 49%)
CIE-LABlab(49.26, -32.72, 37.58)
CIE-LCHlch(49.26, 49.83, 131.04°)
OKLaboklab(55.15% -0.0906 0.0877)
OKLCHoklch(55.15% 0.126 136)
XYZxyz(11.6786, 17.8061, 5.7267)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8231 #653182
analogous
#768231 #4E8231 #31823D
triadic
#4E8231 #314E82 #82314E
tetradic
#4E8231 #317682 #653182 #823D31
square
#4E8231 #317682 #653182 #823D31
split-complementary
#4E8231 #3D3182 #823176
monochromatic
#19290F #335620 #4E8231 #69AE42 #89C668

Accessibility & contrast

On white

4.60
#4E8231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4E8231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8231
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8231#FFFFFF#000000##FFFFFF
##4E82311.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867828
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#4C7D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e8231;
/* rgb */ color: rgb(78, 130, 49);
/* oklch */ color: oklch(55.2% 0.126 136.0);
Tailwind
colors: {
  custom: {
    50: '#83a76c',
    500: '#4e8231',
    950: '#000000',
  },
}
SCSS
$custom: #4e8231;
$custom-light: #83a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8231",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 98.519,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.12607,
    "h": 136
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#4E8231
secondary
#9262AD
accent
#53D5A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E8231

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

Preview Lab → · Contrast checker → · Palette generator →

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