#4C6A0F#4C6A0F

#4C6A0F is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.3% C 0.118 H 127.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4C6A0F
RGBrgb(76, 106, 15)
HSLhsl(80, 75%, 24%)
HSVhsv(80, 86%, 42%)
CMYKcmyk(28.3%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.02, -24.67, 42.94)
CIE-LCHlch(41.02, 49.52, 119.88°)
OKLaboklab(48.33% -0.0713 0.0939)
OKLCHoklch(48.33% 0.118 127.2)
XYZxyz(8.2208, 11.8789, 2.3116)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6A0F #2D0F6A
analogous
#6A5A0F #4C6A0F #1E6A0F
triadic
#4C6A0F #0F4C6A #6A0F4C
tetradic
#4C6A0F #0F6A5A #2D0F6A #6A0F1E
square
#4C6A0F #0F6A5A #2D0F6A #6A0F1E
split-complementary
#4C6A0F #0F1E6A #5A0F6A
monochromatic
#131B04 #263407 #4C6A0F #72A017 #99D51E

Accessibility & contrast

On white

6.22
#4C6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4C6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6A0F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6A0F#FFFFFF#000000##FFFFFF
##4C6A0F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#4F655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c6a0f;
/* rgb */ color: rgb(76, 106, 15);
/* oklch */ color: oklch(48.3% 0.118 127.2);
Tailwind
colors: {
  custom: {
    50: '#829457',
    500: '#4c6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c6a0f;
$custom-light: #829457;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6a0f",
  "rgb": {
    "r": 76,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 79.78,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.1179,
    "h": 127.2
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#4C6A0F
secondary
#5732A2
accent
#36F274
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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