#4A7D1E#4A7D1E

#4A7D1E is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.136 H 133.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A7D1E
RGBrgb(74, 125, 30)
HSLhsl(92, 61%, 30%)
HSVhsv(92, 76%, 49%)
CMYKcmyk(40.8%, 0%, 76%, 51%)
CIE-LABlab(47.26, -33.57, 43.64)
CIE-LCHlch(47.26, 55.06, 127.57°)
OKLaboklab(53.41% -0.0942 0.0979)
OKLCHoklch(53.41% 0.136 133.9)
XYZxyz(10.3918, 16.2163, 3.8106)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D1E #511E7D
analogous
#797D1E #4A7D1E #1E7D22
triadic
#4A7D1E #1E4A7D #7D1E4A
tetradic
#4A7D1E #1E797D #511E7D #7D221E
square
#4A7D1E #1E797D #511E7D #7D221E
split-complementary
#4A7D1E #221E7D #7D1E79
monochromatic
#101A06 #2D4C12 #4A7D1E #67AE2A #85D243

Accessibility & contrast

On white

4.95
#4A7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4A7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D1E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D1E#FFFFFF#000000##FFFFFF
##4A7D1E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730C
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#4A786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d1e;
/* rgb */ color: rgb(74, 125, 30);
/* oklch */ color: oklch(53.4% 0.136 133.9);
Tailwind
colors: {
  custom: {
    50: '#81a361',
    500: '#4a7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d1e;
$custom-light: #81a361;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d1e",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 92.211,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.13586,
    "h": 133.9
  },
  "luminance": 0.16217
}

Semantic roles & 50–950 ramp

primary
#4A7D1E
secondary
#7F46B0
accent
#43E49A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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