#4C7F13#4C7F13

#4C7F13 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.143 H 132.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4C7F13
RGBrgb(76, 127, 19)
HSLhsl(88, 74%, 29%)
HSVhsv(88, 85%, 50%)
CMYKcmyk(40.2%, 0%, 85%, 50.2%)
CIE-LABlab(47.96, -34.35, 47.99)
CIE-LCHlch(47.96, 59.02, 125.60°)
OKLaboklab(53.99% -0.0972 0.1052)
OKLCHoklch(53.99% 0.143 132.7)
XYZxyz(10.6873, 16.7618, 3.2882)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7F13 #46137F
analogous
#7F7C13 #4C7F13 #167F13
triadic
#4C7F13 #134C7F #7F134C
tetradic
#4C7F13 #137F7C #46137F #7F1316
square
#4C7F13 #137F7C #46137F #7F1316
split-complementary
#4C7F13 #13167F #7C137F
monochromatic
#101B04 #2C4A0B #4C7F13 #6CB41B #8BE02D

Accessibility & contrast

On white

4.82
#4C7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4C7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7F13
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7F13#FFFFFF#000000##FFFFFF
##4C7F131.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#4D796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c7f13;
/* rgb */ color: rgb(76, 127, 19);
/* oklch */ color: oklch(54.0% 0.143 132.7);
Tailwind
colors: {
  custom: {
    50: '#83a45c',
    500: '#4c7f13',
    950: '#000000',
  },
}
SCSS
$custom: #4c7f13;
$custom-light: #83a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7f13",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 88.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.14323,
    "h": 132.7
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#4C7F13
secondary
#7339B4
accent
#37F18F
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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