#4D862A#4D862A

#4D862A is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.138 H 135.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4D862A
RGBrgb(77, 134, 42)
HSLhsl(97, 52%, 35%)
HSVhsv(97, 69%, 53%)
CMYKcmyk(42.5%, 0%, 68.7%, 47.5%)
CIE-LABlab(50.45, -35.55, 42.07)
CIE-LCHlch(50.45, 55.08, 130.20°)
OKLaboklab(56.08% -0.0988 0.0963)
OKLCHoklch(56.08% 0.138 135.7)
XYZxyz(12.0033, 18.7945, 5.1853)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D862A #632A86
analogous
#7B862A #4D862A #2A8635
triadic
#4D862A #2A4D86 #862A4D
tetradic
#4D862A #2A7B86 #632A86 #86352A
square
#4D862A #2A7B86 #632A86 #86352A
split-complementary
#4D862A #352A86 #862A7B
monochromatic
#17290D #32571B #4D862A #68B539 #88CD5E

Accessibility & contrast

On white

4.41
#4D862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4D862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D862A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D862A#FFFFFF#000000##000000
##4D862A1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d862a;
/* rgb */ color: rgb(77, 134, 42);
/* oklch */ color: oklch(56.1% 0.138 135.7);
Tailwind
colors: {
  custom: {
    50: '#84aa68',
    500: '#4d862a',
    950: '#000000',
  },
}
SCSS
$custom: #4d862a;
$custom-light: #84aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#4d862a",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 97.174,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.13798,
    "h": 135.7
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

primary
#4D862A
secondary
#905AB2
accent
#4CDCA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D862A

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

Preview Lab → · Contrast checker → · Palette generator →

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