#4C5915#4C5915

#4C5915 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.8% C 0.092 H 119.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4C5915
RGBrgb(76, 89, 21)
HSLhsl(71, 62%, 22%)
HSVhsv(71, 76%, 35%)
CMYKcmyk(14.6%, 0%, 76.4%, 65.1%)
CIE-LABlab(35.47, -15.43, 35.59)
CIE-LCHlch(35.47, 38.79, 113.43°)
OKLaboklab(43.84% -0.0456 0.0795)
OKLCHoklch(43.84% 0.092 119.8)
XYZxyz(6.6883, 8.7354, 2.0431)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5915 #221559
analogous
#594415 #4C5915 #2A5915
triadic
#4C5915 #154C59 #59154C
tetradic
#4C5915 #155944 #221559 #59152A
square
#4C5915 #155944 #221559 #59152A
split-complementary
#4C5915 #152A59 #441559
monochromatic
#151906 #222709 #4C5915 #768B21 #A1BC2C

Accessibility & contrast

On white

7.64
#4C5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4C5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5915
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5915#FFFFFF#000000##FFFFFF
##4C59151.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#51544C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c5915;
/* rgb */ color: rgb(76, 89, 21);
/* oklch */ color: oklch(43.8% 0.092 119.8);
Tailwind
colors: {
  custom: {
    50: '#808758',
    500: '#4c5915',
    950: '#000000',
  },
}
SCSS
$custom: #4c5915;
$custom-light: #808758;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5915",
  "rgb": {
    "r": 76,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 71.471,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.09162,
    "h": 119.8
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#4C5915
secondary
#4A3991
accent
#43E562
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4C5915

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

Preview Lab → · Contrast checker → · Palette generator →

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