#4A8112#4A8112

#4A8112 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.147 H 133.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4A8112
RGBrgb(74, 129, 18)
HSLhsl(90, 76%, 29%)
HSVhsv(90, 86%, 51%)
CMYKcmyk(42.6%, 0%, 86%, 49.4%)
CIE-LABlab(48.51, -36.01, 48.72)
CIE-LCHlch(48.51, 60.58, 126.47°)
OKLaboklab(54.41% -0.1015 0.1067)
OKLCHoklch(54.41% 0.147 133.6)
XYZxyz(10.7833, 17.1995, 3.3238)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8112 #491281
analogous
#818112 #4A8112 #128112
triadic
#4A8112 #124A81 #81124A
tetradic
#4A8112 #128181 #491281 #811212
square
#4A8112 #128181 #491281 #811212
split-complementary
#4A8112 #121281 #811281
monochromatic
#0F1B04 #2B4B0B #4A8112 #69B719 #88E22C

Accessibility & contrast

On white

4.73
#4A8112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4A8112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8112
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8112#FFFFFF#000000##FFFFFF
##4A81121.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#4A7C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a8112;
/* rgb */ color: rgb(74, 129, 18);
/* oklch */ color: oklch(54.4% 0.147 133.6);
Tailwind
colors: {
  custom: {
    50: '#82a65c',
    500: '#4a8112',
    950: '#000000',
  },
}
SCSS
$custom: #4a8112;
$custom-light: #82a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8112",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 89.73,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.14727,
    "h": 133.6
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#4A8112
secondary
#7738B7
accent
#36F293
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8112

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

Preview Lab → · Contrast checker → · Palette generator →

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