#4C5F0F#4C5F0F

#4C5F0F is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.4% C 0.103 H 122.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4C5F0F
RGBrgb(76, 95, 15)
HSLhsl(74, 73%, 22%)
HSVhsv(74, 84%, 37%)
CMYKcmyk(20%, 0%, 84.2%, 62.7%)
CIE-LABlab(37.40, -19.01, 39.67)
CIE-LCHlch(37.40, 43.99, 115.61°)
OKLaboklab(45.39% -0.056 0.087)
OKLCHoklch(45.39% 0.103 122.8)
XYZxyz(7.1590, 9.7554, 1.9577)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5F0F #220F5F
analogous
#5F4A0F #4C5F0F #245F0F
triadic
#4C5F0F #0F4C5F #5F0F4C
tetradic
#4C5F0F #0F5F4A #220F5F #5F0F24
square
#4C5F0F #0F5F4A #220F5F #5F0F24
split-complementary
#4C5F0F #0F245F #4A0F5F
monochromatic
#151A04 #222A07 #4C5F0F #769417 #A1C920

Accessibility & contrast

On white

7.12
#4C5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4C5F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5F0F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5F0F#FFFFFF#000000##FFFFFF
##4C5F0F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#505A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c5f0f;
/* rgb */ color: rgb(76, 95, 15);
/* oklch */ color: oklch(45.4% 0.103 122.8);
Tailwind
colors: {
  custom: {
    50: '#818c56',
    500: '#4c5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c5f0f;
$custom-light: #818c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5f0f",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 74.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.10341,
    "h": 122.8
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#4C5F0F
secondary
#4A3298
accent
#38EF64
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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