#4C6F18#4C6F18

#4C6F18 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.7% C 0.120 H 129.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4C6F18
RGBrgb(76, 111, 24)
HSLhsl(84, 64%, 26%)
HSVhsv(84, 78%, 44%)
CMYKcmyk(31.5%, 0%, 78.4%, 56.5%)
CIE-LABlab(42.72, -26.65, 41.50)
CIE-LCHlch(42.72, 49.32, 122.71°)
OKLaboklab(49.72% -0.076 0.0924)
OKLCHoklch(49.72% 0.12 129.4)
XYZxyz(8.8298, 12.9711, 2.9024)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6F18 #3B186F
analogous
#6F6718 #4C6F18 #216F18
triadic
#4C6F18 #184C6F #6F184C
tetradic
#4C6F18 #186F67 #3B186F #6F1821
square
#4C6F18 #186F67 #3B186F #6F1821
split-complementary
#4C6F18 #18216F #67186F
monochromatic
#111905 #2A3D0D #4C6F18 #6EA123 #91D22F

Accessibility & contrast

On white

5.84
#4C6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C6F18
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6F18#FFFFFF#000000##FFFFFF
##4C6F181.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756606
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#4E6A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c6f18;
/* rgb */ color: rgb(76, 111, 24);
/* oklch */ color: oklch(49.7% 0.120 129.4);
Tailwind
colors: {
  custom: {
    50: '#81985c',
    500: '#4c6f18',
    950: '#000000',
  },
}
SCSS
$custom: #4c6f18;
$custom-light: #81985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6f18",
  "rgb": {
    "r": 76,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 84.138,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.11966,
    "h": 129.4
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#4C6F18
secondary
#673EA5
accent
#40E784
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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