#4B771C#4B771C

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

Color values

HEX#4B771C
RGBrgb(75, 119, 28)
HSLhsl(89, 62%, 29%)
HSVhsv(89, 76%, 47%)
CMYKcmyk(37%, 0%, 76.5%, 53.3%)
CIE-LABlab(45.32, -30.59, 42.51)
CIE-LCHlch(45.32, 52.38, 125.74°)
OKLaboklab(51.83% -0.0863 0.0952)
OKLCHoklch(51.83% 0.129 132.2)
XYZxyz(9.7080, 14.7729, 3.4383)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B771C #481C77
analogous
#77761C #4B771C #1E771C
triadic
#4B771C #1C4B77 #771C4B
tetradic
#4B771C #1C7776 #481C77 #771C1E
square
#4B771C #1C7776 #481C77 #771C1E
split-complementary
#4B771C #1C1E77 #761C77
monochromatic
#101906 #2C4510 #4B771C #6AA928 #89D13C

Accessibility & contrast

On white

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

On black

3.95
#4B771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4B771C#FFFFFF#000000##FFFFFF
##4B771C1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0A
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#4C7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b771c;
/* rgb */ color: rgb(75, 119, 28);
/* oklch */ color: oklch(51.8% 0.129 132.2);
Tailwind
colors: {
  custom: {
    50: '#819e5f',
    500: '#4b771c',
    950: '#000000',
  },
}
SCSS
$custom: #4b771c;
$custom-light: #819e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b771c",
  "rgb": {
    "r": 75,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 89.011,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.12853,
    "h": 132.2
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#4B771C
secondary
#7644AB
accent
#43E591
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B771C

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

Preview Lab → · Contrast checker → · Palette generator →

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