#4C7B14#4C7B14

#4C7B14 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.138 H 132.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4C7B14
RGBrgb(76, 123, 20)
HSLhsl(87, 72%, 28%)
HSVhsv(87, 84%, 48%)
CMYKcmyk(38.2%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.65, -32.51, 46.52)
CIE-LCHlch(46.65, 56.75, 124.95°)
OKLaboklab(52.92% -0.0921 0.1023)
OKLCHoklch(52.92% 0.138 132)
XYZxyz(10.1896, 15.7525, 3.1653)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7B14 #43147B
analogous
#7B7614 #4C7B14 #187B14
triadic
#4C7B14 #144C7B #7B144C
tetradic
#4C7B14 #147B76 #43147B #7B1418
square
#4C7B14 #147B76 #43147B #7B1418
split-complementary
#4C7B14 #14187B #76147B
monochromatic
#101A04 #2B460B #4C7B14 #6DB01D #8CDD2D

Accessibility & contrast

On white

5.06
#4C7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4C7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7B14
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7B14#FFFFFF#000000##FFFFFF
##4C7B141.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#4D7668
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c7b14;
/* rgb */ color: rgb(76, 123, 20);
/* oklch */ color: oklch(52.9% 0.138 132.0);
Tailwind
colors: {
  custom: {
    50: '#83a15c',
    500: '#4c7b14',
    950: '#000000',
  },
}
SCSS
$custom: #4c7b14;
$custom-light: #83a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7b14",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 87.379,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.13768,
    "h": 132
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#4C7B14
secondary
#703AB1
accent
#39EF8C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #4C7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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