#4C5D12#4C5D12

#4C5D12 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.9% C 0.099 H 121.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4C5D12
RGBrgb(76, 93, 18)
HSLhsl(74, 68%, 22%)
HSVhsv(74, 81%, 36%)
CMYKcmyk(18.3%, 0%, 80.6%, 63.5%)
CIE-LABlab(36.76, -17.79, 38.03)
CIE-LCHlch(36.76, 41.98, 115.07°)
OKLaboklab(44.88% -0.0523 0.0841)
OKLCHoklch(44.88% 0.099 121.9)
XYZxyz(7.0041, 9.4089, 2.0192)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5D12 #23125D
analogous
#5D4912 #4C5D12 #275D12
triadic
#4C5D12 #124C5D #5D124C
tetradic
#4C5D12 #125D49 #23125D #5D1227
square
#4C5D12 #125D49 #23125D #5D1227
split-complementary
#4C5D12 #12275D #49125D
monochromatic
#151A05 #222A08 #4C5D12 #76901C #A0C426

Accessibility & contrast

On white

7.29
#4C5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4C5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5D12
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5D12#FFFFFF#000000##FFFFFF
##4C5D121.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#51584F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c5d12;
/* rgb */ color: rgb(76, 93, 18);
/* oklch */ color: oklch(44.9% 0.099 121.9);
Tailwind
colors: {
  custom: {
    50: '#818b57',
    500: '#4c5d12',
    950: '#000000',
  },
}
SCSS
$custom: #4c5d12;
$custom-light: #818b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5d12",
  "rgb": {
    "r": 76,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 73.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44877,
    "c": 0.09902,
    "h": 121.9
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#4C5D12
secondary
#4B3595
accent
#3DEA65
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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