#4B862A#4B862A

#4B862A is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.139 H 136.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4B862A
RGBrgb(75, 134, 42)
HSLhsl(98, 52%, 35%)
HSVhsv(98, 69%, 53%)
CMYKcmyk(44%, 0%, 68.7%, 47.5%)
CIE-LABlab(50.35, -36.24, 41.94)
CIE-LCHlch(50.35, 55.43, 130.84°)
OKLaboklab(55.98% -0.1006 0.0961)
OKLCHoklch(55.98% 0.139 136.3)
XYZxyz(11.8443, 18.7125, 5.1778)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B862A #652A86
analogous
#79862A #4B862A #2A8637
triadic
#4B862A #2A4B86 #862A4B
tetradic
#4B862A #2A7986 #652A86 #86372A
square
#4B862A #2A7986 #652A86 #86372A
split-complementary
#4B862A #372A86 #862A79
monochromatic
#17290D #31571B #4B862A #65B539 #86CD5E

Accessibility & contrast

On white

4.43
#4B862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4B862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B862A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B862A#FFFFFF#000000##000000
##4B862A1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#498173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b862a;
/* rgb */ color: rgb(75, 134, 42);
/* oklch */ color: oklch(56.0% 0.139 136.3);
Tailwind
colors: {
  custom: {
    50: '#82aa68',
    500: '#4b862a',
    950: '#000000',
  },
}
SCSS
$custom: #4b862a;
$custom-light: #82aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#4b862a",
  "rgb": {
    "r": 75,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 98.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5598,
    "c": 0.13907,
    "h": 136.3
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

primary
#4B862A
secondary
#925AB2
accent
#4CDCA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B862A

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

Preview Lab → · Contrast checker → · Palette generator →

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