#4C7B19#4C7B19

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

Color values

HEX#4C7B19
RGBrgb(76, 123, 25)
HSLhsl(89, 66%, 29%)
HSVhsv(89, 80%, 48%)
CMYKcmyk(38.2%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.67, -32.24, 44.93)
CIE-LCHlch(46.67, 55.30, 125.66°)
OKLaboklab(52.95% -0.0911 0.0998)
OKLCHoklch(52.95% 0.135 132.4)
XYZxyz(10.2388, 15.7722, 3.4244)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7B19 #48197B
analogous
#7B7919 #4C7B19 #1B7B19
triadic
#4C7B19 #194C7B #7B194C
tetradic
#4C7B19 #197B79 #48197B #7B191B
square
#4C7B19 #197B79 #48197B #7B191B
split-complementary
#4C7B19 #191B7B #79197B
monochromatic
#101905 #2D480F #4C7B19 #6BAE23 #8AD738

Accessibility & contrast

On white

5.05
#4C7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C7B19
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7B19#FFFFFF#000000##FFFFFF
##4C7B191.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#4D7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c7b19;
/* rgb */ color: rgb(76, 123, 25);
/* oklch */ color: oklch(52.9% 0.135 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a15e',
    500: '#4c7b19',
    950: '#000000',
  },
}
SCSS
$custom: #4c7b19;
$custom-light: #83a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7b19",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 88.776,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.13509,
    "h": 132.4
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#4C7B19
secondary
#7640AF
accent
#3FE990
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4C7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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