#4C6810#4C6810

#4C6810 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.115 H 126.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4C6810
RGBrgb(76, 104, 16)
HSLhsl(79, 73%, 24%)
HSVhsv(79, 85%, 41%)
CMYKcmyk(26.9%, 0%, 84.6%, 59.2%)
CIE-LABlab(40.37, -23.62, 42.04)
CIE-LCHlch(40.37, 48.23, 119.33°)
OKLaboklab(47.8% -0.0684 0.0922)
OKLCHoklch(47.8% 0.115 126.6)
XYZxyz(8.0244, 11.4744, 2.2821)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6810 #2C1068
analogous
#685810 #4C6810 #206810
triadic
#4C6810 #104C68 #68104C
tetradic
#4C6810 #106858 #2C1068 #681020
square
#4C6810 #106858 #2C1068 #681020
split-complementary
#4C6810 #102068 #581068
monochromatic
#131B04 #253308 #4C6810 #739D18 #9AD220

Accessibility & contrast

On white

6.37
#4C6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4C6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6810
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6810#FFFFFF#000000##FFFFFF
##4C68101.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#4F6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c6810;
/* rgb */ color: rgb(76, 104, 16);
/* oklch */ color: oklch(47.8% 0.115 126.6);
Tailwind
colors: {
  custom: {
    50: '#819357',
    500: '#4c6810',
    950: '#000000',
  },
}
SCSS
$custom: #4c6810;
$custom-light: #819357;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6810",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 79.091,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47795,
    "c": 0.11479,
    "h": 126.6
  },
  "luminance": 0.11475
}

Semantic roles & 50–950 ramp

primary
#4C6810
secondary
#5634A0
accent
#38F072
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6810

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

Preview Lab → · Contrast checker → · Palette generator →

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