#4A8115#4A8115

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

Color values

HEX#4A8115
RGBrgb(74, 129, 21)
HSLhsl(91, 72%, 29%)
HSVhsv(91, 84%, 51%)
CMYKcmyk(42.6%, 0%, 83.7%, 49.4%)
CIE-LABlab(48.52, -35.87, 47.89)
CIE-LCHlch(48.52, 59.83, 126.83°)
OKLaboklab(54.43% -0.101 0.1054)
OKLCHoklch(54.43% 0.146 133.8)
XYZxyz(10.8095, 17.2099, 3.4616)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8115 #4C1581
analogous
#808115 #4A8115 #158116
triadic
#4A8115 #154A81 #81154A
tetradic
#4A8115 #158081 #4C1581 #811615
square
#4A8115 #158081 #4C1581 #811615
split-complementary
#4A8115 #161581 #811580
monochromatic
#0F1A04 #2C4C0C #4A8115 #68B61E #87DE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8115#FFFFFF#000000##FFFFFF
##4A81151.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)
#7F7222
Tritanopia (blue-blind)
#4A7C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a8115;
/* rgb */ color: rgb(74, 129, 21);
/* oklch */ color: oklch(54.4% 0.146 133.8);
Tailwind
colors: {
  custom: {
    50: '#82a65d',
    500: '#4a8115',
    950: '#000000',
  },
}
SCSS
$custom: #4a8115;
$custom-light: #82a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8115",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 90.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54427,
    "c": 0.14597,
    "h": 133.8
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#4A8115
secondary
#7A3CB6
accent
#39EF96
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8115

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

Preview Lab → · Contrast checker → · Palette generator →

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