#4C6F11#4C6F11

#4C6F11 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.7% C 0.124 H 128.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4C6F11
RGBrgb(76, 111, 17)
HSLhsl(82, 73%, 25%)
HSVhsv(82, 85%, 44%)
CMYKcmyk(31.5%, 0%, 84.7%, 56.5%)
CIE-LABlab(42.68, -27.03, 43.83)
CIE-LCHlch(42.68, 51.49, 121.67°)
OKLaboklab(49.68% -0.0776 0.0961)
OKLCHoklch(49.68% 0.124 128.9)
XYZxyz(8.7661, 12.9456, 2.5671)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6F11 #34116F
analogous
#6F6311 #4C6F11 #1D6F11
triadic
#4C6F11 #114C6F #6F114C
tetradic
#4C6F11 #116F63 #34116F #6F111D
square
#4C6F11 #116F63 #34116F #6F111D
split-complementary
#4C6F11 #111D6F #63116F
monochromatic
#121B04 #283A09 #4C6F11 #70A419 #95D921

Accessibility & contrast

On white

5.85
#4C6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4C6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6F11
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6F11#FFFFFF#000000##FFFFFF
##4C6F111.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#4F6A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c6f11;
/* rgb */ color: rgb(76, 111, 17);
/* oklch */ color: oklch(49.7% 0.124 128.9);
Tailwind
colors: {
  custom: {
    50: '#829859',
    500: '#4c6f11',
    950: '#000000',
  },
}
SCSS
$custom: #4c6f11;
$custom-light: #829859;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6f11",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 82.34,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.12351,
    "h": 128.9
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#4C6F11
secondary
#5F35A6
accent
#38F07C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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