#4A7E1E#4A7E1E

#4A7E1E is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.137 H 134.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4A7E1E
RGBrgb(74, 126, 30)
HSLhsl(93, 62%, 31%)
HSVhsv(93, 76%, 49%)
CMYKcmyk(41.3%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.59, -34.02, 43.97)
CIE-LCHlch(47.59, 55.59, 127.73°)
OKLaboklab(53.68% -0.0954 0.0986)
OKLCHoklch(53.68% 0.137 134)
XYZxyz(10.5190, 16.4708, 3.8530)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E1E #521E7E
analogous
#7A7E1E #4A7E1E #1E7E22
triadic
#4A7E1E #1E4A7E #7E1E4A
tetradic
#4A7E1E #1E7A7E #521E7E #7E221E
square
#4A7E1E #1E7A7E #521E7E #7E221E
split-complementary
#4A7E1E #221E7E #7E1E7A
monochromatic
#101B06 #2D4D12 #4A7E1E #67AF2A #85D244

Accessibility & contrast

On white

4.89
#4A7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4A7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7E1E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7E1E#FFFFFF#000000##FFFFFF
##4A7E1E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740B
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#4A796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a7e1e;
/* rgb */ color: rgb(74, 126, 30);
/* oklch */ color: oklch(53.7% 0.137 134.0);
Tailwind
colors: {
  custom: {
    50: '#81a461',
    500: '#4a7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e1e;
$custom-light: #81a461;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e1e",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 92.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.13719,
    "h": 134
  },
  "luminance": 0.16471
}

Semantic roles & 50–950 ramp

primary
#4A7E1E
secondary
#8047B1
accent
#43E59B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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