#4C6B14#4C6B14

#4C6B14 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.6% C 0.117 H 127.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4C6B14
RGBrgb(76, 107, 20)
HSLhsl(81, 69%, 25%)
HSVhsv(81, 81%, 42%)
CMYKcmyk(29%, 0%, 81.3%, 58%)
CIE-LABlab(41.38, -24.92, 41.65)
CIE-LCHlch(41.38, 48.54, 120.89°)
OKLaboklab(48.62% -0.0716 0.0921)
OKLCHoklch(48.62% 0.117 127.9)
XYZxyz(8.3645, 12.1022, 2.5570)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6B14 #33146B
analogous
#6B5E14 #4C6B14 #216B14
triadic
#4C6B14 #144C6B #6B144C
tetradic
#4C6B14 #146B5E #33146B #6B1421
square
#4C6B14 #146B5E #33146B #6B1421
split-complementary
#4C6B14 #14216B #5E146B
monochromatic
#121A05 #27370A #4C6B14 #719F1E #95D227

Accessibility & contrast

On white

6.14
#4C6B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4C6B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6B14
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6B14#FFFFFF#000000##FFFFFF
##4C6B141.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#4F665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c6b14;
/* rgb */ color: rgb(76, 107, 20);
/* oklch */ color: oklch(48.6% 0.117 127.9);
Tailwind
colors: {
  custom: {
    50: '#81955a',
    500: '#4c6b14',
    950: '#000000',
  },
}
SCSS
$custom: #4c6b14;
$custom-light: #81955a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6b14",
  "rgb": {
    "r": 76,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 81.379,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.11664,
    "h": 127.9
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#4C6B14
secondary
#5E39A2
accent
#3CEB7B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6B14

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

Preview Lab → · Contrast checker → · Palette generator →

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