#4C6923#4C6923

#4C6923 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.103 H 128.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4C6923
RGBrgb(76, 105, 35)
HSLhsl(85, 50%, 27%)
HSVhsv(85, 67%, 41%)
CMYKcmyk(27.6%, 0%, 66.7%, 58.8%)
CIE-LABlab(40.83, -22.83, 34.88)
CIE-LCHlch(40.83, 41.69, 123.20°)
OKLaboklab(48.22% -0.0646 0.0802)
OKLCHoklch(48.22% 0.103 128.8)
XYZxyz(8.3354, 11.7608, 3.4207)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6923 #402369
analogous
#696323 #4C6923 #296923
triadic
#4C6923 #234C69 #69234C
tetradic
#4C6923 #236963 #402369 #692329
square
#4C6923 #236963 #402369 #692329
split-complementary
#4C6923 #232969 #632369
monochromatic
#111708 #2B3B14 #4C6923 #6D9732 #8EC145

Accessibility & contrast

On white

6.26
#4C6923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4C6923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6923
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6923#FFFFFF#000000##FFFFFF
##4C69231.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E621A
Deuteranopia (green-blind)
#6A6028
Tritanopia (blue-blind)
#4E645A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c6923;
/* rgb */ color: rgb(76, 105, 35);
/* oklch */ color: oklch(48.2% 0.103 128.8);
Tailwind
colors: {
  custom: {
    50: '#809461',
    500: '#4c6923',
    950: '#000000',
  },
}
SCSS
$custom: #4c6923;
$custom-light: #809461;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6923",
  "rgb": {
    "r": 76,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 84.857,
    "s": 50,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.10298,
    "h": 128.8
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#4C6923
secondary
#6D4B9C
accent
#4EDA88
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4C6923

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

Preview Lab → · Contrast checker → · Palette generator →

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