#4A851A#4A851A

#4A851A is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.5% C 0.149 H 134.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4A851A
RGBrgb(74, 133, 26)
HSLhsl(93, 67%, 31%)
HSVhsv(93, 80%, 52%)
CMYKcmyk(44.4%, 0%, 80.5%, 47.8%)
CIE-LABlab(49.86, -37.33, 47.58)
CIE-LCHlch(49.86, 60.47, 128.12°)
OKLaboklab(55.53% -0.1046 0.1055)
OKLCHoklch(55.53% 0.149 134.7)
XYZxyz(11.3978, 18.3048, 3.9097)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A851A #551A85
analogous
#7F851A #4A851A #1A851F
triadic
#4A851A #1A4A85 #851A4A
tetradic
#4A851A #1A7F85 #551A85 #851F1A
square
#4A851A #1A7F85 #551A85 #851F1A
split-complementary
#4A851A #1F1A85 #851A7F
monochromatic
#111F06 #2E5210 #4A851A #66B824 #85DA40

Accessibility & contrast

On white

4.51
#4A851A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4A851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A851A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A851A#FFFFFF#000000##000000
##4A851A1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#498071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a851a;
/* rgb */ color: rgb(74, 133, 26);
/* oklch */ color: oklch(55.5% 0.149 134.7);
Tailwind
colors: {
  custom: {
    50: '#82a960',
    500: '#4a851a',
    950: '#000000',
  },
}
SCSS
$custom: #4a851a;
$custom-light: #82a960;
$custom-dark: #000000;
JSON
{
  "hex": "#4a851a",
  "rgb": {
    "r": 74,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 93.084,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.14857,
    "h": 134.7
  },
  "luminance": 0.18305
}

Semantic roles & 50–950 ramp

primary
#4A851A
secondary
#8342B8
accent
#3EEA9D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A851A

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

Preview Lab → · Contrast checker → · Palette generator →

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