#4E7922#4E7922

#4E7922 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.125 H 132.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E7922
RGBrgb(78, 121, 34)
HSLhsl(90, 56%, 30%)
HSVhsv(90, 72%, 47%)
CMYKcmyk(35.5%, 0%, 71.9%, 52.5%)
CIE-LABlab(46.19, -29.93, 41.04)
CIE-LCHlch(46.19, 50.79, 126.10°)
OKLaboklab(52.6% -0.0842 0.093)
OKLCHoklch(52.6% 0.125 132.2)
XYZxyz(10.2679, 15.4095, 3.9464)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7922 #4D2279
analogous
#797822 #4E7922 #237922
triadic
#4E7922 #224E79 #79224E
tetradic
#4E7922 #227978 #4D2279 #792223
square
#4E7922 #227978 #4D2279 #792223
split-complementary
#4E7922 #222379 #782279
monochromatic
#101907 #2F4915 #4E7922 #6DA92F #8BCC49

Accessibility & contrast

On white

5.14
#4E7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4E7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7922
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7922#FFFFFF#000000##FFFFFF
##4E79221.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7015
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#4F7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7922;
/* rgb */ color: rgb(78, 121, 34);
/* oklch */ color: oklch(52.6% 0.125 132.2);
Tailwind
colors: {
  custom: {
    50: '#83a063',
    500: '#4e7922',
    950: '#000000',
  },
}
SCSS
$custom: #4e7922;
$custom-light: #83a063;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7922",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 89.655,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.12548,
    "h": 132.2
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#4E7922
secondary
#7B4BAC
accent
#48DF93
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7922

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

Preview Lab → · Contrast checker → · Palette generator →

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