#4A7D1A#4A7D1A

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

Color values

HEX#4A7D1A
RGBrgb(74, 125, 26)
HSLhsl(91, 66%, 30%)
HSVhsv(91, 79%, 49%)
CMYKcmyk(40.8%, 0%, 79.2%, 51%)
CIE-LABlab(47.23, -33.83, 45.08)
CIE-LCHlch(47.23, 56.36, 126.89°)
OKLaboklab(53.38% -0.0952 0.1003)
OKLCHoklch(53.38% 0.138 133.5)
XYZxyz(10.3439, 16.1972, 3.5584)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D1A #4D1A7D
analogous
#7C7D1A #4A7D1A #1A7D1B
triadic
#4A7D1A #1A4A7D #7D1A4A
tetradic
#4A7D1A #1A7C7D #4D1A7D #7D1B1A
square
#4A7D1A #1A7C7D #4D1A7D #7D1B1A
split-complementary
#4A7D1A #1B1A7D #7D1A7C
monochromatic
#0F1905 #2C4A0F #4A7D1A #68B025 #86D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7D1A#FFFFFF#000000##FFFFFF
##4A7D1A1.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)
#827302
Deuteranopia (green-blind)
#7B6F24
Tritanopia (blue-blind)
#4A786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d1a;
/* rgb */ color: rgb(74, 125, 26);
/* oklch */ color: oklch(53.4% 0.138 133.5);
Tailwind
colors: {
  custom: {
    50: '#81a35f',
    500: '#4a7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d1a;
$custom-light: #81a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d1a",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 90.909,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.13826,
    "h": 133.5
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#4A7D1A
secondary
#7B42B1
accent
#3FE996
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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