#4C7214#4C7214

#4C7214 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.126 H 129.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4C7214
RGBrgb(76, 114, 20)
HSLhsl(84, 70%, 26%)
HSVhsv(84, 82%, 45%)
CMYKcmyk(33.3%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.68, -28.32, 43.80)
CIE-LCHlch(43.68, 52.16, 122.89°)
OKLaboklab(50.5% -0.0809 0.0966)
OKLCHoklch(50.5% 0.126 129.9)
XYZxyz(9.1240, 13.6213, 2.8101)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7214 #3A1472
analogous
#726914 #4C7214 #1D7214
triadic
#4C7214 #144C72 #72144C
tetradic
#4C7214 #147269 #3A1472 #72141D
square
#4C7214 #147269 #3A1472 #72141D
split-complementary
#4C7214 #141D72 #691472
monochromatic
#111A05 #293E0B #4C7214 #6FA61D #91D927

Accessibility & contrast

On white

5.64
#4C7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4C7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7214
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7214#FFFFFF#000000##FFFFFF
##4C72141.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#4E6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c7214;
/* rgb */ color: rgb(76, 114, 20);
/* oklch */ color: oklch(50.5% 0.126 129.9);
Tailwind
colors: {
  custom: {
    50: '#829b5b',
    500: '#4c7214',
    950: '#000000',
  },
}
SCSS
$custom: #4c7214;
$custom-light: #829b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7214",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 84.255,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.505,
    "c": 0.12595,
    "h": 129.9
  },
  "luminance": 0.13622
}

Semantic roles & 50–950 ramp

primary
#4C7214
secondary
#6639A8
accent
#3BED83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7214

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

Preview Lab → · Contrast checker → · Palette generator →

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