#4C5C0F#4C5C0F

#4C5C0F is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.6% C 0.099 H 121.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4C5C0F
RGBrgb(76, 92, 15)
HSLhsl(72, 72%, 21%)
HSVhsv(72, 84%, 36%)
CMYKcmyk(17.4%, 0%, 83.7%, 63.9%)
CIE-LABlab(36.41, -17.40, 38.78)
CIE-LCHlch(36.41, 42.50, 114.17°)
OKLaboklab(44.59% -0.0516 0.0851)
OKLCHoklch(44.59% 0.099 121.2)
XYZxyz(6.8940, 9.2253, 1.8693)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5C0F #1F0F5C
analogous
#5C450F #4C5C0F #255C0F
triadic
#4C5C0F #0F4C5C #5C0F4C
tetradic
#4C5C0F #0F5C45 #1F0F5C #5C0F25
square
#4C5C0F #0F5C45 #1F0F5C #5C0F25
split-complementary
#4C5C0F #0F255C #450F5C
monochromatic
#161A04 #212706 #4C5C0F #779118 #A3C520

Accessibility & contrast

On white

7.38
#4C5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4C5C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5C0F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5C0F#FFFFFF#000000##FFFFFF
##4C5C0F1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#605617
Tritanopia (blue-blind)
#51574E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c5c0f;
/* rgb */ color: rgb(76, 92, 15);
/* oklch */ color: oklch(44.6% 0.099 121.2);
Tailwind
colors: {
  custom: {
    50: '#818a55',
    500: '#4c5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c5c0f;
$custom-light: #818a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5c0f",
  "rgb": {
    "r": 76,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 72.468,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44592,
    "c": 0.09947,
    "h": 121.2
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#4C5C0F
secondary
#463195
accent
#39EF5F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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