#4E7A1C#4E7A1C

#4E7A1C is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.131 H 131.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E7A1C
RGBrgb(78, 122, 28)
HSLhsl(88, 63%, 29%)
HSVhsv(88, 77%, 48%)
CMYKcmyk(36.1%, 0%, 77%, 52.2%)
CIE-LABlab(46.47, -30.82, 43.70)
CIE-LCHlch(46.47, 53.48, 125.20°)
OKLaboklab(52.82% -0.0871 0.0976)
OKLCHoklch(52.82% 0.131 131.8)
XYZxyz(10.3109, 15.6222, 3.5705)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A1C #481C7A
analogous
#7A771C #4E7A1C #1F7A1C
triadic
#4E7A1C #1C4E7A #7A1C4E
tetradic
#4E7A1C #1C7A77 #481C7A #7A1C1F
square
#4E7A1C #1C7A77 #481C7A #7A1C1F
split-complementary
#4E7A1C #1C1F7A #771C7A
monochromatic
#101906 #2E4811 #4E7A1C #6EAC27 #8DD33E

Accessibility & contrast

On white

5.09
#4E7A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4E7A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A1C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A1C#FFFFFF#000000##FFFFFF
##4E7A1C1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807008
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#4F7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a1c;
/* rgb */ color: rgb(78, 122, 28);
/* oklch */ color: oklch(52.8% 0.131 131.8);
Tailwind
colors: {
  custom: {
    50: '#84a160',
    500: '#4e7a1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a1c;
$custom-light: #84a160;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a1c",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 88.085,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.13088,
    "h": 131.8
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#4E7A1C
secondary
#7644AE
accent
#42E68F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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