#4C6913#4C6913

#4C6913 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.115 H 127.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4C6913
RGBrgb(76, 105, 19)
HSLhsl(80, 69%, 24%)
HSVhsv(80, 82%, 41%)
CMYKcmyk(27.6%, 0%, 81.9%, 58.8%)
CIE-LABlab(40.71, -23.97, 41.38)
CIE-LCHlch(40.71, 47.82, 120.09°)
OKLaboklab(48.08% -0.0691 0.0913)
OKLCHoklch(48.08% 0.115 127.1)
XYZxyz(8.1496, 11.6865, 2.4423)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6913 #301369
analogous
#695B13 #4C6913 #216913
triadic
#4C6913 #134C69 #69134C
tetradic
#4C6913 #13695B #301369 #691321
square
#4C6913 #13695B #301369 #691321
split-complementary
#4C6913 #132169 #5B1369
monochromatic
#131A05 #26350A #4C6913 #729D1C #97D126

Accessibility & contrast

On white

6.29
#4C6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4C6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6913
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6913#FFFFFF#000000##FFFFFF
##4C69131.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#4F6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c6913;
/* rgb */ color: rgb(76, 105, 19);
/* oklch */ color: oklch(48.1% 0.115 127.1);
Tailwind
colors: {
  custom: {
    50: '#819459',
    500: '#4c6913',
    950: '#000000',
  },
}
SCSS
$custom: #4c6913;
$custom-light: #819459;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6913",
  "rgb": {
    "r": 76,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 80.233,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4808,
    "c": 0.11452,
    "h": 127.1
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#4C6913
secondary
#5B38A0
accent
#3CEC77
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6913

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

Preview Lab → · Contrast checker → · Palette generator →

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