#4C5B0F#4C5B0F

#4C5B0F is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.3% C 0.098 H 120.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4C5B0F
RGBrgb(76, 91, 15)
HSLhsl(72, 72%, 21%)
HSVhsv(72, 84%, 36%)
CMYKcmyk(16.5%, 0%, 83.5%, 64.3%)
CIE-LABlab(36.09, -16.86, 38.48)
CIE-LCHlch(36.09, 42.01, 113.67°)
OKLaboklab(44.33% -0.0501 0.0844)
OKLCHoklch(44.33% 0.098 120.7)
XYZxyz(6.8079, 9.0532, 1.8406)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5B0F #1E0F5B
analogous
#5B440F #4C5B0F #265B0F
triadic
#4C5B0F #0F4C5B #5B0F4C
tetradic
#4C5B0F #0F5B44 #1E0F5B #5B0F26
square
#4C5B0F #0F5B44 #1E0F5B #5B0F26
split-complementary
#4C5B0F #0F265B #440F5B
monochromatic
#161A04 #202606 #4C5B0F #789018 #A4C420

Accessibility & contrast

On white

7.47
#4C5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4C5B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5B0F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5B0F#FFFFFF#000000##FFFFFF
##4C5B0F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#51564D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4c5b0f;
/* rgb */ color: rgb(76, 91, 15);
/* oklch */ color: oklch(44.3% 0.098 120.7);
Tailwind
colors: {
  custom: {
    50: '#818955',
    500: '#4c5b0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c5b0f;
$custom-light: #818955;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5b0f",
  "rgb": {
    "r": 76,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 71.842,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44328,
    "c": 0.09815,
    "h": 120.7
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#4C5B0F
secondary
#453195
accent
#39EE5D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C5B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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