#4A831A#4A831A

#4A831A is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.0% C 0.146 H 134.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4A831A
RGBrgb(74, 131, 26)
HSLhsl(93, 67%, 31%)
HSVhsv(93, 80%, 51%)
CMYKcmyk(43.5%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.21, -36.47, 46.96)
CIE-LCHlch(49.21, 59.45, 127.84°)
OKLaboklab(55% -0.1023 0.1042)
OKLCHoklch(55% 0.146 134.5)
XYZxyz(11.1266, 17.7624, 3.8193)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A831A #531A83
analogous
#7E831A #4A831A #1A831E
triadic
#4A831A #1A4A83 #831A4A
tetradic
#4A831A #1A7E83 #531A83 #831E1A
square
#4A831A #1A7E83 #531A83 #831E1A
split-complementary
#4A831A #1E1A83 #831A7E
monochromatic
#101D06 #2D5010 #4A831A #67B624 #85D93F

Accessibility & contrast

On white

4.61
#4A831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4A831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A831A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A831A#FFFFFF#000000##FFFFFF
##4A831A1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#497E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a831a;
/* rgb */ color: rgb(74, 131, 26);
/* oklch */ color: oklch(55.0% 0.146 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a760',
    500: '#4a831a',
    950: '#000000',
  },
}
SCSS
$custom: #4a831a;
$custom-light: #82a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4a831a",
  "rgb": {
    "r": 74,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 92.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.14602,
    "h": 134.5
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

primary
#4A831A
secondary
#8142B7
accent
#3EEA9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A831A

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

Preview Lab → · Contrast checker → · Palette generator →

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