#4C6919#4C6919

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

Color values

HEX#4C6919
RGBrgb(76, 105, 25)
HSLhsl(82, 62%, 25%)
HSVhsv(82, 76%, 41%)
CMYKcmyk(27.6%, 0%, 76.2%, 58.8%)
CIE-LABlab(40.75, -23.62, 39.19)
CIE-LCHlch(40.75, 45.75, 121.08°)
OKLaboklab(48.12% -0.0677 0.0877)
OKLCHoklch(48.12% 0.111 127.6)
XYZxyz(8.2075, 11.7097, 2.7473)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6919 #361969
analogous
#695E19 #4C6919 #246919
triadic
#4C6919 #194C69 #69194C
tetradic
#4C6919 #19695E #361969 #691924
square
#4C6919 #19695E #361969 #691924
split-complementary
#4C6919 #192469 #5E1969
monochromatic
#121906 #28380D #4C6919 #709A25 #94CC31

Accessibility & contrast

On white

6.28
#4C6919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C6919
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6919#FFFFFF#000000##FFFFFF
##4C69191.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c6919;
/* rgb */ color: rgb(76, 105, 25);
/* oklch */ color: oklch(48.1% 0.111 127.6);
Tailwind
colors: {
  custom: {
    50: '#81945c',
    500: '#4c6919',
    950: '#000000',
  },
}
SCSS
$custom: #4c6919;
$custom-light: #81945c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6919",
  "rgb": {
    "r": 76,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 81.75,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.1108,
    "h": 127.6
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#4C6919
secondary
#623F9F
accent
#43E57E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6919

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

Preview Lab → · Contrast checker → · Palette generator →

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