#4C741B#4C741B

#4C741B is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.125 H 131.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4C741B
RGBrgb(76, 116, 27)
HSLhsl(87, 62%, 28%)
HSVhsv(87, 77%, 45%)
CMYKcmyk(34.5%, 0%, 76.7%, 54.5%)
CIE-LABlab(44.38, -28.86, 41.99)
CIE-LCHlch(44.38, 50.95, 124.50°)
OKLaboklab(51.08% -0.0818 0.0939)
OKLCHoklch(51.08% 0.125 131)
XYZxyz(9.4236, 14.1061, 3.2629)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C741B #431B74
analogous
#746F1B #4C741B #20741B
triadic
#4C741B #1B4C74 #741B4C
tetradic
#4C741B #1B746F #431B74 #741B20
square
#4C741B #1B746F #431B74 #741B20
split-complementary
#4C741B #1B2074 #6F1B74
monochromatic
#101906 #2B420F #4C741B #6DA627 #8CD139

Accessibility & contrast

On white

5.50
#4C741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4C741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C741B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C741B#FFFFFF#000000##FFFFFF
##4C741B1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#4E6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c741b;
/* rgb */ color: rgb(76, 116, 27);
/* oklch */ color: oklch(51.1% 0.125 131.0);
Tailwind
colors: {
  custom: {
    50: '#829c5e',
    500: '#4c741b',
    950: '#000000',
  },
}
SCSS
$custom: #4c741b;
$custom-light: #829c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c741b",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 86.966,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.12454,
    "h": 131
  },
  "luminance": 0.14106
}

Semantic roles & 50–950 ramp

primary
#4C741B
secondary
#7042A9
accent
#42E58C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C741B

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

Preview Lab → · Contrast checker → · Palette generator →

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