#4C6236#4C6236

#4C6236 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.072 H 130.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4C6236
RGBrgb(76, 98, 54)
HSLhsl(90, 29%, 30%)
HSVhsv(90, 45%, 38%)
CMYKcmyk(22.4%, 0%, 44.9%, 61.6%)
CIE-LABlab(38.79, -16.92, 22.37)
CIE-LCHlch(38.79, 28.05, 127.10°)
OKLaboklab(46.64% -0.0465 0.0546)
OKLCHoklch(46.64% 0.072 130.4)
XYZxyz(8.0139, 10.5381, 5.1011)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6236 #4C3662
analogous
#626236 #4C6236 #366236
triadic
#4C6236 #364C62 #62364C
tetradic
#4C6236 #366262 #4C3662 #623636
square
#4C6236 #366262 #4C3662 #623636
split-complementary
#4C6236 #363662 #623662
monochromatic
#0F140B #2D3B20 #4C6236 #6B894C #89AB67

Accessibility & contrast

On white

6.76
#4C6236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4C6236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6236
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6236#FFFFFF#000000##FFFFFF
##4C62361.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C33
Deuteranopia (green-blind)
#625B38
Tritanopia (blue-blind)
#4D5F57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c6236;
/* rgb */ color: rgb(76, 98, 54);
/* oklch */ color: oklch(46.6% 0.072 130.4);
Tailwind
colors: {
  custom: {
    50: '#7f8e6e',
    500: '#4c6236',
    950: '#000000',
  },
}
SCSS
$custom: #4c6236;
$custom-light: #7f8e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6236",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 54
  },
  "hsl": {
    "h": 90,
    "s": 28.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.07177,
    "h": 130.4
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#4C6236
secondary
#7A6193
accent
#63C594
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0C07
muted
#7C7D7A

Preview Lab

Preview with #4C6236

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

Preview Lab → · Contrast checker → · Palette generator →

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