#4E7D1C#4E7D1C

#4E7D1C is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.135 H 132.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E7D1C
RGBrgb(78, 125, 28)
HSLhsl(89, 63%, 30%)
HSVhsv(89, 78%, 49%)
CMYKcmyk(37.6%, 0%, 77.6%, 51%)
CIE-LABlab(47.46, -32.21, 44.66)
CIE-LCHlch(47.46, 55.06, 125.80°)
OKLaboklab(53.62% -0.0909 0.0997)
OKLCHoklch(53.62% 0.135 132.4)
XYZxyz(10.6850, 16.3703, 3.6952)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D1C #4B1C7D
analogous
#7D7B1C #4E7D1C #1E7D1C
triadic
#4E7D1C #1C4E7D #7D1C4E
tetradic
#4E7D1C #1C7D7B #4B1C7D #7D1C1E
square
#4E7D1C #1C7D7B #4B1C7D #7D1C1E
split-complementary
#4E7D1C #1C1E7D #7B1C7D
monochromatic
#101906 #2F4B11 #4E7D1C #6DAF27 #8CD43F

Accessibility & contrast

On white

4.91
#4E7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E7D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D1C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D1C#FFFFFF#000000##FFFFFF
##4E7D1C1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827307
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#4F786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d1c;
/* rgb */ color: rgb(78, 125, 28);
/* oklch */ color: oklch(53.6% 0.135 132.4);
Tailwind
colors: {
  custom: {
    50: '#84a360',
    500: '#4e7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d1c;
$custom-light: #84a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d1c",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 89.072,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.13488,
    "h": 132.4
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#4E7D1C
secondary
#7944B1
accent
#41E691
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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