#4C811F#4C811F

#4C811F is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.139 H 134.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C811F
RGBrgb(76, 129, 31)
HSLhsl(92, 61%, 31%)
HSVhsv(92, 76%, 51%)
CMYKcmyk(41.1%, 0%, 76%, 49.4%)
CIE-LABlab(48.68, -34.56, 44.71)
CIE-LCHlch(48.68, 56.51, 127.70°)
OKLaboklab(54.6% -0.0969 0.1003)
OKLCHoklch(54.6% 0.139 134)
XYZxyz(11.0779, 17.3354, 4.0584)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C811F #541F81
analogous
#7D811F #4C811F #1F8123
triadic
#4C811F #1F4C81 #811F4C
tetradic
#4C811F #1F7D81 #541F81 #81231F
square
#4C811F #1F7D81 #541F81 #81231F
split-complementary
#4C811F #231F81 #811F7D
monochromatic
#121E07 #2F5013 #4C811F #69B22B #88D347

Accessibility & contrast

On white

4.70
#4C811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4C811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C811F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C811F#FFFFFF#000000##FFFFFF
##4C811F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#4C7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c811f;
/* rgb */ color: rgb(76, 129, 31);
/* oklch */ color: oklch(54.6% 0.139 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a662',
    500: '#4c811f',
    950: '#000000',
  },
}
SCSS
$custom: #4c811f;
$custom-light: #83a662;
$custom-dark: #000000;
JSON
{
  "hex": "#4c811f",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 92.449,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.546,
    "c": 0.13943,
    "h": 134
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#4C811F
secondary
#8248B4
accent
#43E49A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C811F

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

Preview Lab → · Contrast checker → · Palette generator →

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