#4C6D15#4C6D15

#4C6D15 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.2% C 0.119 H 128.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4C6D15
RGBrgb(76, 109, 21)
HSLhsl(83, 68%, 25%)
HSVhsv(83, 81%, 43%)
CMYKcmyk(30.3%, 0%, 80.7%, 57.3%)
CIE-LABlab(42.04, -25.85, 41.93)
CIE-LCHlch(42.04, 49.26, 121.65°)
OKLaboklab(49.17% -0.0741 0.0928)
OKLCHoklch(49.17% 0.119 128.6)
XYZxyz(8.5845, 12.5277, 2.6751)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6D15 #36156D
analogous
#6D6215 #4C6D15 #206D15
triadic
#4C6D15 #154C6D #6D154C
tetradic
#4C6D15 #156D62 #36156D #6D1520
square
#4C6D15 #156D62 #36156D #6D1520
split-complementary
#4C6D15 #15206D #62156D
monochromatic
#121A05 #283A0B #4C6D15 #70A01F #94D429

Accessibility & contrast

On white

5.99
#4C6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4C6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6D15
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6D15#FFFFFF#000000##FFFFFF
##4C6D151.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#4F685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c6d15;
/* rgb */ color: rgb(76, 109, 21);
/* oklch */ color: oklch(49.2% 0.119 128.6);
Tailwind
colors: {
  custom: {
    50: '#81975a',
    500: '#4c6d15',
    950: '#000000',
  },
}
SCSS
$custom: #4c6d15;
$custom-light: #81975a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6d15",
  "rgb": {
    "r": 76,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 82.5,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.11875,
    "h": 128.6
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#4C6D15
secondary
#623AA3
accent
#3DEB7E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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