#4A7F1E#4A7F1E

#4A7F1E is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.139 H 134.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4A7F1E
RGBrgb(74, 127, 30)
HSLhsl(93, 62%, 31%)
HSVhsv(93, 76%, 50%)
CMYKcmyk(41.7%, 0%, 76.4%, 50.2%)
CIE-LABlab(47.92, -34.46, 44.30)
CIE-LCHlch(47.92, 56.12, 127.89°)
OKLaboklab(53.95% -0.0966 0.0993)
OKLCHoklch(53.95% 0.139 134.2)
XYZxyz(10.6476, 16.7278, 3.8958)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7F1E #531E7F
analogous
#7A7F1E #4A7F1E #1E7F23
triadic
#4A7F1E #1E4A7F #7F1E4A
tetradic
#4A7F1E #1E7A7F #531E7F #7F231E
square
#4A7F1E #1E7A7F #531E7F #7F231E
split-complementary
#4A7F1E #231E7F #7F1E7A
monochromatic
#101C07 #2D4D12 #4A7F1E #67B12A #85D344

Accessibility & contrast

On white

4.83
#4A7F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4A7F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7F1E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7F1E#FFFFFF#000000##FFFFFF
##4A7F1E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740A
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#497A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a7f1e;
/* rgb */ color: rgb(74, 127, 30);
/* oklch */ color: oklch(53.9% 0.139 134.2);
Tailwind
colors: {
  custom: {
    50: '#81a461',
    500: '#4a7f1e',
    950: '#000000',
  },
}
SCSS
$custom: #4a7f1e;
$custom-light: #81a461;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7f1e",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 92.784,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.13851,
    "h": 134.2
  },
  "luminance": 0.16728
}

Semantic roles & 50–950 ramp

primary
#4A7F1E
secondary
#8147B2
accent
#43E59B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4A7F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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