#4B771E#4B771E

#4B771E is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.8% C 0.127 H 132.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4B771E
RGBrgb(75, 119, 30)
HSLhsl(90, 60%, 29%)
HSVhsv(90, 75%, 47%)
CMYKcmyk(37%, 0%, 74.8%, 53.3%)
CIE-LABlab(45.34, -30.46, 41.75)
CIE-LCHlch(45.34, 51.67, 126.11°)
OKLaboklab(51.85% -0.0858 0.0939)
OKLCHoklch(51.85% 0.127 132.4)
XYZxyz(9.7327, 14.7828, 3.5686)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B771E #4A1E77
analogous
#77771E #4B771E #1E771E
triadic
#4B771E #1E4B77 #771E4B
tetradic
#4B771E #1E7777 #4A1E77 #771E1E
square
#4B771E #1E7777 #4A1E77 #771E1E
split-complementary
#4B771E #1E1E77 #771E77
monochromatic
#0F1806 #2C4612 #4B771E #6AA82A #89CF40

Accessibility & contrast

On white

5.31
#4B771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4B771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B771E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B771E#FFFFFF#000000##FFFFFF
##4B771E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#4C7266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b771e;
/* rgb */ color: rgb(75, 119, 30);
/* oklch */ color: oklch(51.8% 0.127 132.4);
Tailwind
colors: {
  custom: {
    50: '#819e60',
    500: '#4b771e',
    950: '#000000',
  },
}
SCSS
$custom: #4b771e;
$custom-light: #819e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b771e",
  "rgb": {
    "r": 75,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 89.663,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.12721,
    "h": 132.4
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

primary
#4B771E
secondary
#7846AB
accent
#45E393
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B771E

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

Preview Lab → · Contrast checker → · Palette generator →

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