#4E921F#4E921F

#4E921F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.2% C 0.160 H 135.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4E921F
RGBrgb(78, 146, 31)
HSLhsl(95, 65%, 35%)
HSVhsv(95, 79%, 57%)
CMYKcmyk(46.6%, 0%, 78.8%, 42.7%)
CIE-LABlab(54.32, -41.14, 50.22)
CIE-LCHlch(54.32, 64.92, 129.33°)
OKLaboklab(59.25% -0.1148 0.1118)
OKLCHoklch(59.25% 0.16 135.8)
XYZxyz(13.6677, 22.2755, 4.8755)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E921F #631F92
analogous
#88921F #4E921F #1F9229
triadic
#4E921F #1F4E92 #921F4E
tetradic
#4E921F #1F8892 #631F92 #92291F
square
#4E921F #1F8892 #631F92 #92291F
split-complementary
#4E921F #291F92 #921F88
monochromatic
#182D0A #336014 #4E921F #69C42A #89DA51

Accessibility & contrast

On white

3.85
#4E921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4E921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E921F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E921F#FFFFFF#000000##000000
##4E921F1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#4B8C7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e921f;
/* rgb */ color: rgb(78, 146, 31);
/* oklch */ color: oklch(59.2% 0.160 135.8);
Tailwind
colors: {
  custom: {
    50: '#86b264',
    500: '#4e921f',
    950: '#000000',
  },
}
SCSS
$custom: #4e921f;
$custom-light: #86b264;
$custom-dark: #000000;
JSON
{
  "hex": "#4e921f",
  "rgb": {
    "r": 78,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 95.478,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59249,
    "c": 0.16021,
    "h": 135.8
  },
  "luminance": 0.22276
}

Semantic roles & 50–950 ramp

primary
#4E921F
secondary
#9050BD
accent
#40E8A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E921F

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

Preview Lab → · Contrast checker → · Palette generator →

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