#4C812D#4C812D

#4C812D is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.129 H 135.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4C812D
RGBrgb(76, 129, 45)
HSLhsl(98, 48%, 34%)
HSVhsv(98, 65%, 51%)
CMYKcmyk(41.1%, 0%, 65.1%, 49.4%)
CIE-LABlab(48.79, -33.39, 38.92)
CIE-LCHlch(48.79, 51.28, 130.63°)
OKLaboklab(54.73% -0.0926 0.0901)
OKLCHoklch(54.73% 0.129 135.8)
XYZxyz(11.3041, 17.4259, 5.2500)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C812D #622D81
analogous
#76812D #4C812D #2D8138
triadic
#4C812D #2D4C81 #812D4C
tetradic
#4C812D #2D7681 #622D81 #81382D
square
#4C812D #2D7681 #622D81 #81382D
split-complementary
#4C812D #382D81 #812D76
monochromatic
#17260D #31541D #4C812D #67AE3D #87C861

Accessibility & contrast

On white

4.68
#4C812D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4C812D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C812D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C812D#FFFFFF#000000##FFFFFF
##4C812D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#4A7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c812d;
/* rgb */ color: rgb(76, 129, 45);
/* oklch */ color: oklch(54.7% 0.129 135.8);
Tailwind
colors: {
  custom: {
    50: '#82a66a',
    500: '#4c812d',
    950: '#000000',
  },
}
SCSS
$custom: #4c812d;
$custom-light: #82a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c812d",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 97.857,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.12918,
    "h": 135.8
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#4C812D
secondary
#905CAE
accent
#50D8A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4C812D

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

Preview Lab → · Contrast checker → · Palette generator →

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