#4C6F15#4C6F15

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

Color values

HEX#4C6F15
RGBrgb(76, 111, 21)
HSLhsl(83, 68%, 26%)
HSVhsv(83, 81%, 44%)
CMYKcmyk(31.5%, 0%, 81.1%, 56.5%)
CIE-LABlab(42.70, -26.83, 42.55)
CIE-LCHlch(42.70, 50.30, 122.23°)
OKLaboklab(49.7% -0.0767 0.0941)
OKLCHoklch(49.7% 0.121 129.2)
XYZxyz(8.8003, 12.9593, 2.7471)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6F15 #38156F
analogous
#6F6515 #4C6F15 #1F6F15
triadic
#4C6F15 #154C6F #6F154C
tetradic
#4C6F15 #156F65 #38156F #6F151F
square
#4C6F15 #156F65 #38156F #6F151F
split-complementary
#4C6F15 #151F6F #65156F
monochromatic
#121A05 #293C0B #4C6F15 #6FA21F #92D628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6F15#FFFFFF#000000##FFFFFF
##4C6F151.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)
#70641E
Tritanopia (blue-blind)
#4F6A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c6f15;
/* rgb */ color: rgb(76, 111, 21);
/* oklch */ color: oklch(49.7% 0.121 129.2);
Tailwind
colors: {
  custom: {
    50: '#82985b',
    500: '#4c6f15',
    950: '#000000',
  },
}
SCSS
$custom: #4c6f15;
$custom-light: #82985b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6f15",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 83.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.12143,
    "h": 129.2
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#4C6F15
secondary
#643AA5
accent
#3DEB81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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